]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/fusion/test/sequence/define_struct_inline_move.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / fusion / test / sequence / define_struct_inline_move.cpp
index 13d3793192b4c24405ddcabc6e5f3bea4af078b7..6cf2d053475c23c3631fb7e5c5902c542c2ad3c3 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 x;
         ns::value 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();
 }