]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/math/test/catmull_rom_test.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / math / test / catmull_rom_test.cpp
index d2cfa4f297206d81d33891eb433f8c2b3cdb4af8..72845a151dd1fb8c09d14f97013f54bface91843 100644 (file)
@@ -335,7 +335,7 @@ private:
 
 // Must define the free function "size()":
 template<class Real>
-BOOST_CONSTEXPR std::size_t size(const mypoint3d<Real>& c)
+constexpr std::size_t size(const mypoint3d<Real>& c)
 {
     return 3;
 }
@@ -406,7 +406,9 @@ BOOST_AUTO_TEST_CASE(catmull_rom_test)
     test_alpha_distance<double>();
 
     test_linear<double>();
+#ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
     test_linear<long double>();
+#endif
 
     test_circle<float>();
     test_circle<double>();