use reference instead of copy

This commit is contained in:
Jeff Becker 2018-01-02 12:06:10 -05:00
parent 254bf313a2
commit ab80def94b
No known key found for this signature in database
GPG key ID: F357B3B42F6F9B05

View file

@ -197,7 +197,7 @@ namespace client
minLatency = 0;
maxLatency = 0;
for (auto opt : intOpts)
for (auto & opt : intOpts)
{
itr = params.find(opt.first);
if(itr != params.end())