mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
pass LocalDestination by reference
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user