use reference in range for loop
This commit is contained in:
parent
7603d1a71b
commit
ca7344d9dc
@ -112,7 +112,7 @@ namespace ix
|
||||
it.second.erase(socket.get());
|
||||
}
|
||||
|
||||
for (auto it : _subscribers)
|
||||
for (auto&& it : _subscribers)
|
||||
{
|
||||
std::stringstream ss;
|
||||
ss << "Subscription id: " << it.first << " #subscribers: " << it.second.size();
|
||||
|
Loading…
x
Reference in New Issue
Block a user