return shared_ptr to RI

This commit is contained in:
orignal 2014-11-20 16:20:02 -05:00
parent 683c97d5c8
commit 0f4e4a7944
5 changed files with 21 additions and 21 deletions

View file

@ -468,7 +468,7 @@ namespace tunnel
CreateTunnel<OutboundTunnel> (
new TunnelConfig (std::vector<const i2p::data::RouterInfo *>
{
i2p::data::netdb.GetRandomRouter ()
i2p::data::netdb.GetRandomRouter ().get ()
},
inboundTunnel->GetTunnelConfig ()));
}
@ -521,7 +521,7 @@ namespace tunnel
CreateTunnel<InboundTunnel> (
new TunnelConfig (std::vector<const i2p::data::RouterInfo *>
{
i2p::data::netdb.GetRandomRouter ()
i2p::data::netdb.GetRandomRouter ().get ()
}));
}
}