]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/type_traits/test/has_unary_plus_test.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / type_traits / test / has_unary_plus_test.cpp
index e24d833fca92ba23dddc015149fd8a1ef6a8d517..a139a91e86df01de3d77e0c8485529dd2c9b728c 100644 (file)
@@ -17,7 +17,7 @@
 
 #include "has_prefix_operators.hpp"
 
-void specific() {
+BOOST_TT_PROC void specific() {
    BOOST_CHECK_INTEGRAL_CONSTANT((::boost::BOOST_TT_TRAIT_NAME< void >::value), 0);
    BOOST_CHECK_INTEGRAL_CONSTANT((::boost::BOOST_TT_TRAIT_NAME< void, void >::value), 0);
    BOOST_CHECK_INTEGRAL_CONSTANT((::boost::BOOST_TT_TRAIT_NAME< void, bool >::value), 0);
@@ -224,9 +224,9 @@ void specific() {
    auto f = []() {};
    auto f2 = [](double)->int { return 2; };
 #if BOOST_WORKAROUND(BOOST_MSVC, <= 1900)
-   bool result = false;
+   BOOST_CONSTEXPR bool result = false;
 #else
-   bool result = true;
+   BOOST_CONSTEXPR bool result = true;
 #endif
    BOOST_CHECK_INTEGRAL_CONSTANT((::boost::BOOST_TT_TRAIT_NAME<decltype(f)>::value), result);
    BOOST_CHECK_INTEGRAL_CONSTANT((::boost::BOOST_TT_TRAIT_NAME<decltype(f2)>::value), result);