mirror of https://github.com/CGAL/cgal
Fix warning on Windows 32bits: use boost::intmax_t for difference
This commit is contained in:
parent
86a252c074
commit
136a4806e8
|
|
@ -41,14 +41,6 @@
|
||||||
#include <list>
|
#include <list>
|
||||||
#include <limits>
|
#include <limits>
|
||||||
|
|
||||||
// The following lines only for MS Visual C++
|
|
||||||
#ifdef _MSC_VER
|
|
||||||
#pragma warning(push)
|
|
||||||
#pragma warning(disable:4244) // boost converts signed to std::size_t
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
namespace CGAL {
|
namespace CGAL {
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
|
@ -714,8 +706,8 @@ private:
|
||||||
|
|
||||||
typename Pointer_property_map<Point>::type pmap = make_property_map(m_points);
|
typename Pointer_property_map<Point>::type pmap = make_property_map(m_points);
|
||||||
|
|
||||||
Tree tree (boost::counting_iterator<std::size_t> (0),
|
Tree tree (boost::counting_iterator<std::size_t, boost::use_default, boost::intmax_t> (0),
|
||||||
boost::counting_iterator<std::size_t> (m_points.size()),
|
boost::counting_iterator<std::size_t, boost::use_default, boost::intmax_t> (m_points.size()),
|
||||||
typename Tree::Splitter(),
|
typename Tree::Splitter(),
|
||||||
Search_traits (pmap));
|
Search_traits (pmap));
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue