mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
copy ellimination for ranges #part1
This commit is contained in:
parent
788d1650a2
commit
b8ec63cf8c
17 changed files with 67 additions and 66 deletions
|
@ -202,7 +202,7 @@ namespace i2p
|
|||
len += 32;
|
||||
buf[len] = routers.size ();
|
||||
len++;
|
||||
for (auto it: routers)
|
||||
for (const auto& it: routers)
|
||||
{
|
||||
memcpy (buf + len, it, 32);
|
||||
len += 32;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue