]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/fusion/test/sequence/define_tpl_struct_inline_move.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / fusion / test / sequence / define_tpl_struct_inline_move.cpp
index 9917fea2bde769809ae46930f97518fe64ebed9c..27be0573abe3bf03ba07eb2f9274889ffd9a7805 100644 (file)
@@ -51,6 +51,8 @@ int main()
         BOOST_TEST(y.w.value == 42);
     }
 
+    // Older MSVCs don't generate move ctor by default.
+#if !(defined(RUNNING_ON_APPVEYOR) && BOOST_WORKAROUND(BOOST_MSVC, < 1900))
     {
         ns::value<wrapper> x;
         ns::value<wrapper> y(std::move(x)); // move
@@ -68,6 +70,7 @@ int main()
         BOOST_TEST(x.w.value == 0);
         BOOST_TEST(y.w.value == 0);
     }
+#endif // !(appveyor && msvc < 14.0)
 
     return boost::report_errors();
 }