Browse Source

use reference instead of copy

pull/1130/head
Jeff Becker 7 years ago
parent
commit
ab80def94b
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05
  1. 2
      libi2pd/Destination.cpp

2
libi2pd/Destination.cpp

@ -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…
Cancel
Save