mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
pass LocalDestination by reference
This commit is contained in:
parent
ee08d6687f
commit
81e06769dc
5 changed files with 8 additions and 9 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue