use shared pointer of RI for transports

This commit is contained in:
orignal 2014-11-21 12:34:17 -05:00
parent d8b9968aed
commit 1c3f70056a
8 changed files with 20 additions and 19 deletions

View file

@ -55,7 +55,7 @@ namespace transport
public:
SSUSession (SSUServer& server, boost::asio::ip::udp::endpoint& remoteEndpoint,
const i2p::data::RouterInfo * router = nullptr, bool peerTest = false);
std::shared_ptr<const i2p::data::RouterInfo> router = nullptr, bool peerTest = false);
void ProcessNextMessage (uint8_t * buf, size_t len, const boost::asio::ip::udp::endpoint& senderEndpoint);
~SSUSession ();