mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
copy elimination for ranges #part3
This commit is contained in:
parent
8b53ded53a
commit
a530503c0c
9 changed files with 45 additions and 49 deletions
|
@ -907,7 +907,7 @@ namespace transport
|
|||
{
|
||||
if (m_State == eSessionStateEstablished)
|
||||
{
|
||||
for (auto it: msgs)
|
||||
for (const auto& it: msgs)
|
||||
if (it) m_Data.Send (it);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue