diff options
Diffstat (limited to 'boost/geometry/algorithms/detail/within/implementation.hpp')
-rw-r--r-- | boost/geometry/algorithms/detail/within/implementation.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/boost/geometry/algorithms/detail/within/implementation.hpp b/boost/geometry/algorithms/detail/within/implementation.hpp index 8f1eba62e6..a1fae421e5 100644 --- a/boost/geometry/algorithms/detail/within/implementation.hpp +++ b/boost/geometry/algorithms/detail/within/implementation.hpp @@ -19,9 +19,9 @@ #ifndef BOOST_GEOMETRY_ALGORITHMS_DETAIL_WITHIN_IMPLEMENTATION_HPP #define BOOST_GEOMETRY_ALGORITHMS_DETAIL_WITHIN_IMPLEMENTATION_HPP - #include <cstddef> +#include <boost/core/ignore_unused.hpp> #include <boost/range.hpp> #include <boost/geometry/algorithms/detail/within/interface.hpp> @@ -91,7 +91,7 @@ struct within<Point, Box, point_tag, box_tag> template <typename Strategy> static inline bool apply(Point const& point, Box const& box, Strategy const& strategy) { - boost::ignore_unused_variable_warning(strategy); + boost::ignore_unused(strategy); return strategy.apply(point, box); } }; @@ -103,7 +103,7 @@ struct within<Box1, Box2, box_tag, box_tag> static inline bool apply(Box1 const& box1, Box2 const& box2, Strategy const& strategy) { assert_dimension_equal<Box1, Box2>(); - boost::ignore_unused_variable_warning(strategy); + boost::ignore_unused(strategy); return strategy.apply(box1, box2); } }; |