mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
use shared_ptr for transit tunnel participant
This commit is contained in:
parent
98c91a01e3
commit
122b8c2a84
2 changed files with 3 additions and 4 deletions
|
@ -4,6 +4,7 @@
|
|||
#include <inttypes.h>
|
||||
#include <vector>
|
||||
#include <mutex>
|
||||
#include <memory>
|
||||
#include "aes.h"
|
||||
#include "I2NPProtocol.h"
|
||||
#include "TunnelEndpoint.h"
|
||||
|
@ -59,7 +60,7 @@ namespace tunnel
|
|||
private:
|
||||
|
||||
size_t m_NumTransmittedBytes;
|
||||
std::vector<i2p::I2NPMessage *> m_TunnelDataMsgs;
|
||||
std::vector<std::shared_ptr<i2p::I2NPMessage> > m_TunnelDataMsgs;
|
||||
};
|
||||
|
||||
class TransitTunnelGateway: public TransitTunnel
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue