2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

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_x"] = GetHLEBufferDescriptorData<true>(ctx.BufferDescriptorX());
return std::move(out);
return out;
}
} // Anonymous namespace