[NFC][llvm-exegesis] Try to fix GCC7 build
authorRoman Lebedev <lebedev.ri@gmail.com>
Mon, 19 Dec 2022 15:09:30 +0000 (18:09 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Mon, 19 Dec 2022 15:10:18 +0000 (18:10 +0300)
https://lab.llvm.org/staging/#/builders/235/builds/1121

llvm/tools/llvm-exegesis/lib/BenchmarkResult.cpp

index c0e4c61..673221e 100644 (file)
@@ -367,7 +367,7 @@ InstructionBenchmark::readYamls(const LLVMState &State,
       return make_error<Failure>(Context.getLastError());
     Yin.nextDocument();
   }
-  return Benchmarks;
+  return std::move(Benchmarks);
 }
 
 Error InstructionBenchmark::writeYamlTo(const LLVMState &State,