]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/fusion/test/sequence/define_struct_inline_move.cpp
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / boost / libs / fusion / test / sequence / define_struct_inline_move.cpp
index 6cf2d053475c23c3631fb7e5c5902c542c2ad3c3..951f7e4f1089571d31d43e2bf907b6b9cf0417b7 100644 (file)
@@ -1,13 +1,9 @@
 /*=============================================================================
-    Copyright (c) 2016 Kohei Takahashi
+    Copyright (c) 2016-2018 Kohei Takahashi
 
     Distributed under the Boost Software License, Version 1.0. (See accompanying
     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 ==============================================================================*/
-
-#include <boost/config.hpp>
-#ifndef BOOST_NO_CXX11_RVALUE_REFERENCES
-
 #include <boost/detail/lightweight_test.hpp>
 #include <boost/fusion/adapted/struct/define_struct_inline.hpp>
 #include <utility>
@@ -52,7 +48,7 @@ int main()
     }
 
     // Older MSVCs don't generate move ctor by default.
-#if !(defined(RUNNING_ON_APPVEYOR) && BOOST_WORKAROUND(BOOST_MSVC, < 1900))
+#if !(defined(CI_SKIP_KNOWN_FAILURE) && BOOST_WORKAROUND(BOOST_MSVC, < 1900))
     {
         ns::value x;
         ns::value y(std::move(x)); // move
@@ -70,15 +66,8 @@ int main()
         BOOST_TEST(x.w.value == 0);
         BOOST_TEST(y.w.value == 0);
     }
-#endif // !(appveyor && msvc < 14.0)
+#endif // !(ci && msvc < 14.0)
 
     return boost::report_errors();
 }
 
-#else
-
-int main()
-{
-}
-
-#endif