]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/geometry/srs/projections/factory.hpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / boost / geometry / srs / projections / factory.hpp
index 599c4bf4dd2f0171a12bb5f706f98e4095f42837..0fddb0a27c39233212338ad299fdfd2fd82e08f7 100644 (file)
@@ -2,8 +2,8 @@
 
 // Copyright (c) 2008-2012 Barend Gehrels, Amsterdam, the Netherlands.
 
-// This file was modified by Oracle on 2017, 2019.
-// Modifications copyright (c) 2017, 2019, Oracle and/or its affiliates.
+// This file was modified by Oracle on 2017-2020.
+// Modifications copyright (c) 2017-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,
@@ -18,6 +18,8 @@
 
 #include <boost/shared_ptr.hpp>
 
+#include <boost/geometry/core/static_assert.hpp>
+
 #include <boost/geometry/srs/projections/dpar.hpp>
 #include <boost/geometry/srs/projections/proj4.hpp>
 #include <boost/geometry/srs/projections/impl/factory_entry.hpp>
@@ -129,7 +131,9 @@ namespace detail
 template <typename Params>
 struct factory_key
 {
-    BOOST_MPL_ASSERT_MSG((false), INVALID_PARAMETERS_TYPE, (Params));
+    BOOST_GEOMETRY_STATIC_ASSERT_FALSE(
+        "Invalid parameters type.",
+        Params);
 };
 
 template <>