From 6ec48af2223c2470ce342a707f63c67b72c6cee9 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 5 Jul 2019 17:08:10 -0400 Subject: core/reporter: Remove pessimizing move in GetHLERequestContextData() This can inhibit copy-elision, so we can remove this redundant move. --- src/core/reporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core') diff --git a/src/core/reporter.cpp b/src/core/reporter.cpp index be471131f..96b71037a 100644 --- a/src/core/reporter.cpp +++ b/src/core/reporter.cpp @@ -176,7 +176,7 @@ json GetHLERequestContextData(Kernel::HLERequestContext& ctx) { out["buffer_descriptor_c"] = GetHLEBufferDescriptorData(ctx.BufferDescriptorC()); out["buffer_descriptor_x"] = GetHLEBufferDescriptorData(ctx.BufferDescriptorX()); - return std::move(out); + return out; } } // Anonymous namespace -- cgit v1.2.3