mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-29 04:07:49 +02:00
pass I2NPMessage by move
This commit is contained in:
parent
1af9117b80
commit
d310efcb5c
5 changed files with 7 additions and 6 deletions
|
@ -301,7 +301,7 @@ namespace tunnel
|
|||
public:
|
||||
|
||||
~I2NPMessagesHandler ();
|
||||
void PutNextMessage (std::shared_ptr<I2NPMessage> msg);
|
||||
void PutNextMessage (std::shared_ptr<I2NPMessage>&& msg);
|
||||
void Flush ();
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue