Commit 0f2979a3 authored by Simon Giesecke's avatar Simon Giesecke

Problem: assignment used as condition warning

Solution: changed condition
parent 24edc828
......@@ -328,9 +328,8 @@ class routing_socket_base_t : public socket_base_t
{
bool res = false;
for (out_pipes_t::iterator it = _out_pipes.begin ();
it != _out_pipes.end (); ++it) {
if (res |= func (*it->second.pipe))
break;
it != _out_pipes.end () && !res; ++it) {
res |= func (*it->second.pipe);
}
return res;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment