diff options
| author | 2019-07-05 17:08:10 -0400 | |
|---|---|---|
| committer | 2019-07-05 17:08:13 -0400 | |
| commit | 6ec48af2223c2470ce342a707f63c67b72c6cee9 (patch) | |
| tree | 28d0ffbc0ecd5f47c0a5f9f57f3ac8946aa6d924 | |
| parent | core/reporter: Make bracing consistent (diff) | |
| download | yuzu-6ec48af2223c2470ce342a707f63c67b72c6cee9.tar.gz yuzu-6ec48af2223c2470ce342a707f63c67b72c6cee9.tar.xz yuzu-6ec48af2223c2470ce342a707f63c67b72c6cee9.zip | |
core/reporter: Remove pessimizing move in GetHLERequestContextData()
This can inhibit copy-elision, so we can remove this redundant move.
| -rw-r--r-- | src/core/reporter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) { | |||
| 176 | out["buffer_descriptor_c"] = GetHLEBufferDescriptorData<false>(ctx.BufferDescriptorC()); | 176 | out["buffer_descriptor_c"] = GetHLEBufferDescriptorData<false>(ctx.BufferDescriptorC()); |
| 177 | out["buffer_descriptor_x"] = GetHLEBufferDescriptorData<true>(ctx.BufferDescriptorX()); | 177 | out["buffer_descriptor_x"] = GetHLEBufferDescriptorData<true>(ctx.BufferDescriptorX()); |
| 178 | 178 | ||
| 179 | return std::move(out); | 179 | return out; |
| 180 | } | 180 | } |
| 181 | 181 | ||
| 182 | } // Anonymous namespace | 182 | } // Anonymous namespace |