From 7fa407d4d0ddbc5589e82072bfbf3329987b2f4d Mon Sep 17 00:00:00 2001 From: Barend Gehrels Date: Sat, 20 Dec 2014 13:15:44 +0100 Subject: [PATCH] [buffer] make two functions static --- .../algorithms/detail/buffer/buffered_piece_collection.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/geometry/algorithms/detail/buffer/buffered_piece_collection.hpp b/include/boost/geometry/algorithms/detail/buffer/buffered_piece_collection.hpp index fdd8cd41b..166579ed8 100644 --- a/include/boost/geometry/algorithms/detail/buffer/buffered_piece_collection.hpp +++ b/include/boost/geometry/algorithms/detail/buffer/buffered_piece_collection.hpp @@ -561,9 +561,9 @@ struct buffered_piece_collection } template - void determine_monotonicity(piece& pc, + static inline void determine_monotonicity(piece& pc, robust_point_type const& current, - robust_point_type const& next) const + robust_point_type const& next) { if (geometry::get(current) >= geometry::get(next)) { @@ -575,7 +575,7 @@ struct buffered_piece_collection } } - void determine_properties(piece& pc) + static inline void determine_properties(piece& pc) { pc.is_monotonic_increasing[0] = true; pc.is_monotonic_increasing[1] = true;