mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-09 11:12:21 +00:00
[multi][algorithms][num_points] add include for std::size_t;
qualify with std:: an occurrence of unqualified size_t;
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user