diff --git a/include/boost/geometry/index/rtree.hpp b/include/boost/geometry/index/rtree.hpp index e4f913ab8..09f07ffe7 100644 --- a/include/boost/geometry/index/rtree.hpp +++ b/include/boost/geometry/index/rtree.hpp @@ -12,17 +12,15 @@ #ifndef BOOST_GEOMETRY_INDEX_RTREE_HPP #define BOOST_GEOMETRY_INDEX_RTREE_HPP +// STD #include +// Boost #include #include -//#include -// START -#include - -#include -#include +// Boost.Geometry +#include #include #include #include @@ -34,8 +32,10 @@ #include #include -// END +#include + +// Boost.Geometry.Index #include #include @@ -1798,6 +1798,9 @@ inline void swap(rtree & }}} // namespace boost::geometry::index +// TODO: don't include the implementation at the end of the file +#include + #include #endif // BOOST_GEOMETRY_INDEX_RTREE_HPP diff --git a/include/boost/geometry/strategies/cartesian/centroid_weighted_length.hpp b/include/boost/geometry/strategies/cartesian/centroid_weighted_length.hpp index 48feae51d..b788738d1 100644 --- a/include/boost/geometry/strategies/cartesian/centroid_weighted_length.hpp +++ b/include/boost/geometry/strategies/cartesian/centroid_weighted_length.hpp @@ -13,7 +13,8 @@ #ifndef BOOST_GEOMETRY_STRATEGIES_CARTESIAN_CENTROID_WEIGHTED_LENGTH_HPP #define BOOST_GEOMETRY_STRATEGIES_CARTESIAN_CENTROID_WEIGHTED_LENGTH_HPP -#include +#include +#include #include #include #include diff --git a/test/algorithms/test_intersection.hpp b/test/algorithms/test_intersection.hpp index 53db6d8c1..36c4c1154 100644 --- a/test/algorithms/test_intersection.hpp +++ b/test/algorithms/test_intersection.hpp @@ -14,6 +14,7 @@ #include #include +#include #include #include diff --git a/test/strategies/pythagoras_point_box.cpp b/test/strategies/pythagoras_point_box.cpp index 1b450ec3c..d11e96e1c 100644 --- a/test/strategies/pythagoras_point_box.cpp +++ b/test/strategies/pythagoras_point_box.cpp @@ -27,6 +27,7 @@ # pragma warning( disable : 4101 ) #endif +#include #include #include @@ -184,6 +185,12 @@ inline void test_services() < bg::box_tag, bg::point_tag, Box, Point >::type reversed_pythagoras_pb_strategy_type; + + boost::ignore_unused + < + pythagoras_pb_strategy_type, + reversed_pythagoras_pb_strategy_type + >(); } Point p;