]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/geometry/formulas/vertex_longitude.hpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / boost / geometry / formulas / vertex_longitude.hpp
index 4be273126b51eabf0d02894e99ea6e9276a7da56..e8c5e8775b29958ae56d4d80293f67f230f24d50 100644 (file)
@@ -1,6 +1,6 @@
 // Boost.Geometry
 
-// Copyright (c) 2016-2018 Oracle and/or its affiliates.
+// Copyright (c) 2016-2020 Oracle and/or its affiliates.
 
 // Contributed and/or modified by Vissarion Fysikopoulos, on behalf of Oracle
 // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
 #ifndef BOOST_GEOMETRY_FORMULAS_MAXIMUM_LONGITUDE_HPP
 #define BOOST_GEOMETRY_FORMULAS_MAXIMUM_LONGITUDE_HPP
 
+
+#include <boost/geometry/core/static_assert.hpp>
 #include <boost/geometry/formulas/spherical.hpp>
 #include <boost/geometry/formulas/flattening.hpp>
 
-#include <boost/mpl/assert.hpp>
-
 #include <boost/math/special_functions/hypot.hpp>
 
 namespace boost { namespace geometry { namespace formula
@@ -224,11 +224,9 @@ public:
 template <typename CT, typename CS_Tag>
 struct compute_vertex_lon
 {
-    BOOST_MPL_ASSERT_MSG
-    (
-        false, NOT_IMPLEMENTED_FOR_THIS_COORDINATE_SYSTEM, (types<CS_Tag>)
-    );
-
+    BOOST_GEOMETRY_STATIC_ASSERT_FALSE(
+        "Not implemented for this coordinate system.",
+        CT, CS_Tag);
 };
 
 template <typename CT>