Browse Source

fix

pull/628/head
Jeff Becker 8 years ago
parent
commit
bee34a3222
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B
  1. 2
      Datagram.cpp
  2. 2
      Datagram.h

2
Datagram.cpp

@ -12,7 +12,7 @@ namespace i2p @@ -12,7 +12,7 @@ namespace i2p
namespace datagram
{
DatagramDestination::DatagramDestination (std::shared_ptr<i2p::client::ClientDestination> owner):
m_Owner (owner), m_Receiver (nullptr)
m_Owner (owner.get()), m_Receiver (nullptr)
{
}

2
Datagram.h

@ -47,7 +47,7 @@ namespace datagram @@ -47,7 +47,7 @@ namespace datagram
private:
std::shared_ptr<i2p::client::ClientDestination> m_Owner;
i2p::client::ClientDestination * m_Owner;
Receiver m_Receiver; // default
std::map<uint16_t, Receiver> m_ReceiversByPorts;

Loading…
Cancel
Save