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 ...@@ -328,9 +328,8 @@ class routing_socket_base_t : public socket_base_t
{ {
bool res = false; bool res = false;
for (out_pipes_t::iterator it = _out_pipes.begin (); for (out_pipes_t::iterator it = _out_pipes.begin ();
it != _out_pipes.end (); ++it) { it != _out_pipes.end () && !res; ++it) {
if (res |= func (*it->second.pipe)) res |= func (*it->second.pipe);
break;
} }
return res; 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