diff --git a/test/test_future.cpp b/test/test_future.cpp index 4e2b170c..3e0c43f8 100644 --- a/test/test_future.cpp +++ b/test/test_future.cpp @@ -74,7 +74,7 @@ int fn8( int i) { A fn9() { A a; a.value = 3; - return std::move( a); + return a; } A fn10() {