pass LocalDestination by reference

This commit is contained in:
orignal 2014-04-01 13:55:09 -04:00
parent ee08d6687f
commit 81e06769dc
5 changed files with 8 additions and 9 deletions

View file

@ -255,7 +255,7 @@ namespace tunnel
return tunnel;
}
TunnelPool * Tunnels::CreateTunnelPool (i2p::data::LocalDestination * localDestination)
TunnelPool * Tunnels::CreateTunnelPool (i2p::data::LocalDestination& localDestination)
{
auto pool = new TunnelPool (localDestination);
m_Pools.push_back (pool);