mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-10-22 17:31:32 +00:00
pass I2NPMessage by move
This commit is contained in:
1 parent
1af9117b80
commit
d310efcb5c
5 files changed
+7
-6
No files matched your search
+1
-1
@@ -247,7 +247,7 @@ namespace transport
|
||||
m_ReceivedMessages.emplace (msgID, m_LastMessageReceivedTime);
|
||||
if (!msg->IsExpired ())
|
||||
{
|
||||
m_Handler.PutNextMessage (msg);
|
||||
m_Handler.PutNextMessage (std::move (msg));
|
||||
}
|
||||
else
|
||||
LogPrint (eLogDebug, "SSU: message expired");
|
||||
|
||||
Reference in new issue
Block a user