gcc43 gives a strange warning that you should add parentheses around

&& in an expression with ||. I'm a bit annoyed by this type of
educative behaviour, but to shut it up I added them.
This commit is contained in:
Michael Hoffmann 2008-06-19 11:47:40 +00:00
parent ac2beb5ddc
commit a55955d1d6
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ convex_bounding_box_2(
Greater_yx_2 greater_yx_2 = boost::bind(less_yx_2, _2, _1);
if (less_xy_2(*minx, *f) ||
less_yx_2(*minx, *f) && !less_xy_2(*f, *minx))
(less_yx_2(*minx, *f) && !less_xy_2(*f, *minx)))
if (less_yx_2(*minx, *f))
// first quadrant
for (;;) {