From f6f6dc7b73875c3b671b9e4f3a618c75c51eb6f5 Mon Sep 17 00:00:00 2001 From: Barend Gehrels Date: Sat, 21 Jul 2012 18:20:36 +0000 Subject: [PATCH] [geometry] updates some flaws (w.r.t. headerfiles, comments) for buffer/offset [SVN r79642] --- include/boost/geometry/algorithms/detail/occupation_info.hpp | 2 +- .../geometry/extensions/algorithms/buffer/buffer_policies.hpp | 1 + .../geometry/extensions/algorithms/buffer/buffered_ring.hpp | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/boost/geometry/algorithms/detail/occupation_info.hpp b/include/boost/geometry/algorithms/detail/occupation_info.hpp index e147ba12d..6d15f2dd6 100644 --- a/include/boost/geometry/algorithms/detail/occupation_info.hpp +++ b/include/boost/geometry/algorithms/detail/occupation_info.hpp @@ -10,7 +10,7 @@ #define BOOST_GEOMETRY_ALGORITHMS_DETAIL_OCCUPATION_INFO_HPP #if ! defined(NDEBUG) - #define BOOST_GEOMETRY_DEBUG_BUFFER_OCCUPATION +// #define BOOST_GEOMETRY_DEBUG_BUFFER_OCCUPATION #endif #include diff --git a/include/boost/geometry/extensions/algorithms/buffer/buffer_policies.hpp b/include/boost/geometry/extensions/algorithms/buffer/buffer_policies.hpp index f6f7d8d50..06fb3263e 100644 --- a/include/boost/geometry/extensions/algorithms/buffer/buffer_policies.hpp +++ b/include/boost/geometry/extensions/algorithms/buffer/buffer_policies.hpp @@ -20,6 +20,7 @@ #include #include +#include #include #include diff --git a/include/boost/geometry/extensions/algorithms/buffer/buffered_ring.hpp b/include/boost/geometry/extensions/algorithms/buffer/buffered_ring.hpp index 2184062ab..0af3dd200 100644 --- a/include/boost/geometry/extensions/algorithms/buffer/buffered_ring.hpp +++ b/include/boost/geometry/extensions/algorithms/buffer/buffered_ring.hpp @@ -246,7 +246,7 @@ struct get_ring BOOST_ASSERT ( id.multi_index >= 0 - && id.multi_index < boost::size(multi_ring) + && id.multi_index < int(boost::size(multi_ring)) ); return get_ring::apply(id, multi_ring[id.multi_index]); }