]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/thread/test/sync/futures/promise/set_value_const_pass.cpp
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / libs / thread / test / sync / futures / promise / set_value_const_pass.cpp
index e4defb91bb8269ccecd8e627e9545e706f26f798..84f2fb273979b951095415c0283dc92d13cee1fa 100644 (file)
@@ -23,6 +23,7 @@
 #include <boost/thread/future.hpp>
 #include <boost/detail/lightweight_test.hpp>
 #include <boost/static_assert.hpp>
+#include <boost/config.hpp>
 
 #ifdef BOOST_MSVC
 # pragma warning(disable: 4702) // unreachable code
@@ -37,6 +38,9 @@ struct A
   {
     throw 10;
   }
+#if !defined(BOOST_NO_CXX11_DEFAULTED_FUNCTIONS)
+  A& operator= (const A&) = default;
+#endif
 };
 
 int main()