File tree 1 file changed +3
-3
lines changed
autoware_utils_geometry/src/geometry
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 20
20
#include < boost/geometry/algorithms/correct.hpp>
21
21
#include < boost/geometry/algorithms/intersects.hpp>
22
22
#include < boost/geometry/algorithms/is_valid.hpp>
23
+ #include < boost/version.hpp>
23
24
24
25
#include < algorithm>
25
26
#include < limits>
26
27
#include < list>
27
28
#include < random>
28
29
#include < utility>
29
30
#include < vector>
30
-
31
- #if __has_include(<boost/geometry/strategies/agnostic/hull_graham_andrew.hpp>) // Until Humble
31
+ #if BOOST_VERSION < 107600 // Header removed in version 1.76.0 (Humble)
32
32
#include < boost/geometry/strategies/agnostic/hull_graham_andrew.hpp>
33
33
#endif
34
34
@@ -259,7 +259,7 @@ Polygon2d inward_denting(LinearRing2d & ring)
259
259
{
260
260
LinearRing2d convex_ring;
261
261
std::list<Point2d> q;
262
- #if __has_include(<boost/geometry/strategies/agnostic/hull_graham_andrew.hpp>) // Humble
262
+ #if BOOST_VERSION < 107600 // Humble
263
263
boost::geometry::strategy::convex_hull::graham_andrew<LinearRing2d, Point2d> strategy;
264
264
boost::geometry::convex_hull (ring, convex_ring, strategy);
265
265
#else // Jazzy+
You can’t perform that action at this time.
0 commit comments