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;