diff --git a/Datagram.cpp b/Datagram.cpp index dbe4d978..aed831b7 100644 --- a/Datagram.cpp +++ b/Datagram.cpp @@ -12,7 +12,7 @@ namespace i2p namespace datagram { DatagramDestination::DatagramDestination (std::shared_ptr owner): - m_Owner (owner), m_Receiver (nullptr) + m_Owner (owner.get()), m_Receiver (nullptr) { } diff --git a/Datagram.h b/Datagram.h index c593fad2..51fd3553 100644 --- a/Datagram.h +++ b/Datagram.h @@ -47,7 +47,7 @@ namespace datagram private: - std::shared_ptr m_Owner; + i2p::client::ClientDestination * m_Owner; Receiver m_Receiver; // default std::map m_ReceiversByPorts;