mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 21:37:17 +01:00
use reference instead of copy
This commit is contained in:
parent
254bf313a2
commit
ab80def94b
|
@ -197,7 +197,7 @@ namespace client
|
||||||
minLatency = 0;
|
minLatency = 0;
|
||||||
maxLatency = 0;
|
maxLatency = 0;
|
||||||
|
|
||||||
for (auto opt : intOpts)
|
for (auto & opt : intOpts)
|
||||||
{
|
{
|
||||||
itr = params.find(opt.first);
|
itr = params.find(opt.first);
|
||||||
if(itr != params.end())
|
if(itr != params.end())
|
||||||
|
|
Loading…
Reference in a new issue