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

@ -860,7 +860,7 @@ namespace i2p
Flush ();
}
void I2NPMessagesHandler::PutNextMessage (std::shared_ptr<I2NPMessage> msg)
void I2NPMessagesHandler::PutNextMessage (std::shared_ptr<I2NPMessage>&& msg)
{
if (msg)
{