[multi][algorithms][num_points] add include for std::size_t;

qualify with std:: an occurrence of unqualified size_t;
This commit is contained in:
Menelaos Karavelas
2014-07-14 14:29:27 +03:00
parent 35a1a42edb
commit 9164a5bc0c

View File

@@ -15,6 +15,7 @@
#ifndef BOOST_GEOMETRY_MULTI_ALGORITHMS_NUM_POINTS_HPP
#define BOOST_GEOMETRY_MULTI_ALGORITHMS_NUM_POINTS_HPP
#include <cstddef>
#include <boost/range.hpp>
@@ -34,7 +35,8 @@ namespace detail { namespace num_points
struct multi_count
{
template <typename MultiGeometry>
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<MultiGeometry>::type geometry_type;
typedef typename boost::range_iterator