From 9164a5bc0c2f332dbfc573a795a5b5c8f79a0ef7 Mon Sep 17 00:00:00 2001 From: Menelaos Karavelas Date: Mon, 14 Jul 2014 14:29:27 +0300 Subject: [PATCH] [multi][algorithms][num_points] add include for std::size_t; qualify with std:: an occurrence of unqualified size_t; --- include/boost/geometry/multi/algorithms/num_points.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/boost/geometry/multi/algorithms/num_points.hpp b/include/boost/geometry/multi/algorithms/num_points.hpp index 180523a98..ac10ddff4 100644 --- a/include/boost/geometry/multi/algorithms/num_points.hpp +++ b/include/boost/geometry/multi/algorithms/num_points.hpp @@ -15,6 +15,7 @@ #ifndef BOOST_GEOMETRY_MULTI_ALGORITHMS_NUM_POINTS_HPP #define BOOST_GEOMETRY_MULTI_ALGORITHMS_NUM_POINTS_HPP +#include #include @@ -34,7 +35,8 @@ namespace detail { namespace num_points struct multi_count { template - static inline size_t apply(MultiGeometry const& geometry, bool add_for_open) + static inline + std::size_t apply(MultiGeometry const& geometry, bool add_for_open) { typedef typename boost::range_value::type geometry_type; typedef typename boost::range_iterator