diff options
Diffstat (limited to 'boost/polygon/detail/rectangle_formation.hpp')
-rw-r--r-- | boost/polygon/detail/rectangle_formation.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/polygon/detail/rectangle_formation.hpp b/boost/polygon/detail/rectangle_formation.hpp index 22d0f38cac..07a2209f48 100644 --- a/boost/polygon/detail/rectangle_formation.hpp +++ b/boost/polygon/detail/rectangle_formation.hpp @@ -258,7 +258,7 @@ namespace rectangle_formation { ++itr; Unit highy = (*itr).second.first; scanlineToRects.processEdge(output, interval_data<Unit>(lowy, highy)); - if(abs((*itr).second.second) > 1) itr = tmp_itr; //next edge begins from this vertex + if(std::abs((*itr).second.second) > 1) itr = tmp_itr; //next edge begins from this vertex } } } |