mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 03:37: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
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue