pass I2NPMessage by move

This commit is contained in:
orignal 2021-10-17 11:31:37 -04:00
parent 1af9117b80
commit d310efcb5c
5 changed files with 7 additions and 6 deletions

View file

@ -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: