Browse Source

fix

pull/628/head
Jeff Becker 8 years ago
parent
commit
a68326490d
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B
  1. 2
      NetDb.cpp

2
NetDb.cpp

@ -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);
}); });
} }

Loading…
Cancel
Save