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

@ -389,7 +389,7 @@ namespace transport
{
// we send it to ourself
for (auto& it: msgs)
m_LoopbackHandler.PutNextMessage (it);
m_LoopbackHandler.PutNextMessage (std::move (it));
m_LoopbackHandler.Flush ();
return;
}