Merge pull request #94 from mkaravel/fix/num_points

[multi][algorithms][num_points] replace size_t with std::size_t
This commit is contained in:
Adam Wulkiewicz
2014-07-14 16:33:41 +02:00

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