summaryrefslogtreecommitdiff
path: root/src/video_core/command_classes
diff options
context:
space:
mode:
authorGravatar LC2020-10-28 03:14:58 -0400
committerGravatar GitHub2020-10-28 03:14:58 -0400
commit55ac6f7a2bf2d2a777f8198806383a093e698453 (patch)
treeefebd3b7a220d23859c96e41e365763e92d74632 /src/video_core/command_classes
parentMerge pull request #4842 from liushuyu/fix-web-srv (diff)
parentvideo_core: Enforce -Wredundant-move and -Wpessimizing-move (diff)
downloadyuzu-55ac6f7a2bf2d2a777f8198806383a093e698453.tar.gz
yuzu-55ac6f7a2bf2d2a777f8198806383a093e698453.tar.xz
yuzu-55ac6f7a2bf2d2a777f8198806383a093e698453.zip
Merge pull request #4847 from ReinUsesLisp/warn-move
video_core: Enforce -Wredundant-move and -Wpessimizing-move
Diffstat (limited to 'src/video_core/command_classes')
-rw-r--r--src/video_core/command_classes/codecs/vp9.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/command_classes/codecs/vp9.cpp b/src/video_core/command_classes/codecs/vp9.cpp
index 3bae0bb5d..747c63d85 100644
--- a/src/video_core/command_classes/codecs/vp9.cpp
+++ b/src/video_core/command_classes/codecs/vp9.cpp
@@ -366,7 +366,7 @@ Vp9PictureInfo VP9::GetVp9PictureInfo(const NvdecCommon::NvdecRegisters& state)
366 // to avoid buffering frame data needed for reference frame updating in the header composition. 366 // to avoid buffering frame data needed for reference frame updating in the header composition.
367 std::memcpy(vp9_info.frame_offsets.data(), state.surface_luma_offset.data(), 4 * sizeof(u64)); 367 std::memcpy(vp9_info.frame_offsets.data(), state.surface_luma_offset.data(), 4 * sizeof(u64));
368 368
369 return std::move(vp9_info); 369 return vp9_info;
370} 370}
371 371
372void VP9::InsertEntropy(u64 offset, Vp9EntropyProbs& dst) { 372void VP9::InsertEntropy(u64 offset, Vp9EntropyProbs& dst) {