diff options
Diffstat (limited to 'boost/geometry/algorithms/detail/covered_by/implementation.hpp')
-rw-r--r-- | boost/geometry/algorithms/detail/covered_by/implementation.hpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/boost/geometry/algorithms/detail/covered_by/implementation.hpp b/boost/geometry/algorithms/detail/covered_by/implementation.hpp index 3df8b7783d..c5a02b9761 100644 --- a/boost/geometry/algorithms/detail/covered_by/implementation.hpp +++ b/boost/geometry/algorithms/detail/covered_by/implementation.hpp @@ -19,9 +19,8 @@ #ifndef BOOST_GEOMETRY_ALGORITHMS_DETAIL_COVERED_BY_IMPLEMENTATION_HPP #define BOOST_GEOMETRY_ALGORITHMS_DETAIL_COVERED_BY_IMPLEMENTATION_HPP - #include <cstddef> - +#include <boost/core/ignore_unused.hpp> #include <boost/geometry/algorithms/detail/covered_by/interface.hpp> #include <boost/geometry/algorithms/detail/within/implementation.hpp> @@ -67,7 +66,7 @@ struct covered_by<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); } }; @@ -79,7 +78,7 @@ struct covered_by<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); } }; |