From 8c3a8359906cab3fe916e71b163f5869580c3173 Mon Sep 17 00:00:00 2001 From: Roman Lebedev Date: Mon, 19 Dec 2022 18:09:30 +0300 Subject: [PATCH] [NFC][llvm-exegesis] Try to fix GCC7 build https://lab.llvm.org/staging/#/builders/235/builds/1121 --- llvm/tools/llvm-exegesis/lib/BenchmarkResult.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/tools/llvm-exegesis/lib/BenchmarkResult.cpp b/llvm/tools/llvm-exegesis/lib/BenchmarkResult.cpp index c0e4c61..673221e 100644 --- a/llvm/tools/llvm-exegesis/lib/BenchmarkResult.cpp +++ b/llvm/tools/llvm-exegesis/lib/BenchmarkResult.cpp @@ -367,7 +367,7 @@ InstructionBenchmark::readYamls(const LLVMState &State, return make_error(Context.getLastError()); Yin.nextDocument(); } - return Benchmarks; + return std::move(Benchmarks); } Error InstructionBenchmark::writeYamlTo(const LLVMState &State, -- 2.7.4