aboutsummaryrefslogtreecommitdiff
path: root/src/core/reporter.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-07-05 17:08:10 -0400
committerLioncash <mathew1800@gmail.com>2019-07-05 17:08:13 -0400
commit6ec48af2223c2470ce342a707f63c67b72c6cee9 (patch)
tree28d0ffbc0ecd5f47c0a5f9f57f3ac8946aa6d924 /src/core/reporter.cpp
parentf12eb408344b992ac71ded87903510263dc51836 (diff)
core/reporter: Remove pessimizing move in GetHLERequestContextData()
This can inhibit copy-elision, so we can remove this redundant move.
Diffstat (limited to 'src/core/reporter.cpp')
-rw-r--r--src/core/reporter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/reporter.cpp b/src/core/reporter.cpp
index be471131f7..96b71037a3 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<false>(ctx.BufferDescriptorC());
out["buffer_descriptor_x"] = GetHLEBufferDescriptorData<true>(ctx.BufferDescriptorX());
- return std::move(out);
+ return out;
}
} // Anonymous namespace