]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/convert/test/str_to_int.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / convert / test / str_to_int.cpp
index 51248a12e288cddfe0ab466bd3d346d69666adfc..42951c0d169d5da91cd3d596f793bf2a0a2a4c37 100644 (file)
@@ -5,7 +5,7 @@
 
 #include "./test.hpp"
 
-#ifdef BOOST_CONVERT_INTEL_SFINAE_BROKEN
+#if defined(BOOST_CONVERT_IS_NOT_SUPPORTED)
 int main(int, char const* []) { return 0; }
 #else
 
@@ -120,9 +120,9 @@ str_to_int(Converter const& cnv)
     // Testing empty string.
     ////////////////////////////////////////////////////////////////////////////
 
-    int const a31 = boost::convert<int>(std::string(), cnv).value_or(-1);
-    int const a32 = boost::convert<int>(std::string(""), cnv).value_or(-1);
-    int const a33 = boost::convert<int>("", cnv).value_or(-1);
+    int a31 = boost::convert<int>(std::string(), cnv).value_or(-1);
+    int a32 = boost::convert<int>(std::string(""), cnv).value_or(-1);
+    int a33 = boost::convert<int>("", cnv).value_or(-1);
 
     BOOST_ASSERT(a31 == -1);
     BOOST_ASSERT(a32 == -1);