Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
majestrate committed Aug 31, 2016
1 parent ab763c3 commit a683264
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NetDb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ namespace data
void NetDb::VisitStoredRouterInfos(RouterInfoVisitor v)
{
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);
});
}
Expand Down

0 comments on commit a683264

Please sign in to comment.