1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-08 18:47:52 +00:00
This commit is contained in:
Jeff Becker 2016-08-30 20:02:27 -04:00
parent ab763c38d9
commit a68326490d
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B

View File

@ -333,7 +333,7 @@ namespace data
void NetDb::VisitStoredRouterInfos(RouterInfoVisitor v) void NetDb::VisitStoredRouterInfos(RouterInfoVisitor v)
{ {
m_Storage.Iterate([v] (const std::string & filename) { m_Storage.Iterate([v] (const std::string & filename) {
const i2p::data::RouterInfo ri(filename); auto ri = std::make_shared<i2p::data::RouterInfo>(filename);
v(ri); v(ri);
}); });
} }