]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/fiber/test/test_promise_dispatch.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / fiber / test / test_promise_dispatch.cpp
index 1480a6486826f9367be3a8d9fda9a5d74acaaf9f..d3f90f2202bd137d51ecfce1a80aa97212eab3b8 100644 (file)
@@ -30,7 +30,7 @@ struct A {
     A & operator=( A const&) = delete;
     A & operator=( A &&) = default;
 
-    int value;
+    int value{ 0 };
 };
 
 void fn1( boost::fibers::promise< int > * p, int i) {
@@ -74,7 +74,7 @@ int fn8( int i) {
 A fn9() {
      A a;
      a.value = 3;
-     return std::move( a);
+     return a;
 }
 
 A fn10() {