mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
use shared pointers
This commit is contained in:
parent
f0bc2a3645
commit
1015188c4e
3 changed files with 9 additions and 14 deletions
|
@ -148,9 +148,9 @@ namespace client
|
|||
/** ident hash of remote destination */
|
||||
const i2p::data::IdentHash RemoteIdent;
|
||||
/** ident hash of IBGW in use currently in this session or nullptr if none is set */
|
||||
const i2p::data::IdentHash * CurrentIBGW;
|
||||
std::shared_ptr<const i2p::data::IdentHash> CurrentIBGW;
|
||||
/** ident hash of OBEP in use for this session or nullptr if none is set */
|
||||
const i2p::data::IdentHash * CurrentOBEP;
|
||||
std::shared_ptr<const i2p::data::IdentHash> CurrentOBEP;
|
||||
/** i2p router's udp endpoint */
|
||||
const boost::asio::ip::udp::endpoint LocalEndpoint;
|
||||
/** client's udp endpoint */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue