Skip to content

Commit

Permalink
[build] Group logical operators (clang warning)
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Dec 4, 2013
1 parent 4a98be8 commit 730951f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/utils/point.hpp
Expand Up @@ -123,7 +123,7 @@ inline std::basic_istream<C>& operator >> (std::basic_istream<C>& is, basic_vect
is >> op;
is >> v.y;

if(op != C(',') && op != C('x') && op != C('|') || is.bad())
if((op != C(',') && op != C('x') && op != C('|')) || is.bad())
{
throw std::runtime_error("Not able to convert from stream to vector!");
}
Expand Down

0 comments on commit 730951f

Please sign in to comment.