]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/geometry/geometries/adapted/boost_polygon/point.hpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / boost / geometry / geometries / adapted / boost_polygon / point.hpp
index 2aabb5663c7c57dbc2fcac48f644a568672e5ef7..8b14ce133420a171b606295be8e68aac10271a49 100644 (file)
@@ -2,6 +2,10 @@
 
 // Copyright (c) 2010-2012 Barend Gehrels, Amsterdam, the Netherlands.
 
+// This file was modified by Oracle on 2020.
+// Modifications copyright (c) 2020, Oracle and/or its affiliates.
+// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
+
 // Use, modification and distribution is subject to the Boost Software License,
 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
 // http://www.boost.org/LICENSE_1_0.txt)
@@ -13,6 +17,8 @@
 // boost::polygon::point_data -> boost::geometry::point
 
 
+#include <type_traits>
+
 #include <boost/polygon/polygon.hpp>
 
 #include <boost/geometry/core/access.hpp>
@@ -54,7 +60,7 @@ struct coordinate_system<boost::polygon::point_data<CoordinateType> >
 
 template <typename CoordinateType>
 struct dimension<boost::polygon::point_data<CoordinateType> >
-            : boost::mpl::int_<2>
+    : std::integral_constant<std::size_t, 2>
 {};