core/reporter: Remove pessimizing move in GetHLERequestContextData()

This can inhibit copy-elision, so we can remove this redundant move.
This commit is contained in:
Lioncash 2019-07-05 17:08:10 -04:00
parent f12eb40834
commit 6ec48af222

View File

@ -176,7 +176,7 @@ json GetHLERequestContextData(Kernel::HLERequestContext& ctx) {
out["buffer_descriptor_c"] = GetHLEBufferDescriptorData<false>(ctx.BufferDescriptorC()); out["buffer_descriptor_c"] = GetHLEBufferDescriptorData<false>(ctx.BufferDescriptorC());
out["buffer_descriptor_x"] = GetHLEBufferDescriptorData<true>(ctx.BufferDescriptorX()); out["buffer_descriptor_x"] = GetHLEBufferDescriptorData<true>(ctx.BufferDescriptorX());
return std::move(out); return out;
} }
} // Anonymous namespace } // Anonymous namespace