mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-08 18:47:52 +00:00
fix
This commit is contained in:
parent
ab763c38d9
commit
a68326490d
@ -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…
Reference in New Issue
Block a user