]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/optional/test/optional_test_ref_converting_ctor.cpp
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / libs / optional / test / optional_test_ref_converting_ctor.cpp
index 81f3c0f4fac3ada86c67e44b62df159b4fbb351b..e31904b9ee22084e704c70f918be260a2f491557 100644 (file)
@@ -93,7 +93,9 @@ template <typename T>
 void test_all_const_cases()
 {
   test_converting_ctor<T>();
+#ifndef BOOST_OPTIONAL_CONFIG_NO_PROPER_CONVERT_FROM_CONST_INT
   test_converting_ctor<const T>();
+#endif
   test_converting_ctor_for_noconst_const<T>();
 }