summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2022-11-29 01:12:23 +0100
committerLioncash <mathew1800@gmail.com>2022-11-29 01:12:26 +0100
commit3020f72b0ced962115dec59def983eb70f7c004f (patch)
treee49a7e919bea62e824218e5f8a76d8cde4f9c094 /src
parentconsumer_base: Pass shared_ptr by const reference (diff)
downloadyuzu-3020f72b0ced962115dec59def983eb70f7c004f.tar
yuzu-3020f72b0ced962115dec59def983eb70f7c004f.tar.gz
yuzu-3020f72b0ced962115dec59def983eb70f7c004f.tar.bz2
yuzu-3020f72b0ced962115dec59def983eb70f7c004f.tar.lz
yuzu-3020f72b0ced962115dec59def983eb70f7c004f.tar.xz
yuzu-3020f72b0ced962115dec59def983eb70f7c004f.tar.zst
yuzu-3020f72b0ced962115dec59def983eb70f7c004f.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/nvflinger/buffer_queue_consumer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/nvflinger/buffer_queue_consumer.cpp b/src/core/hle/service/nvflinger/buffer_queue_consumer.cpp
index 1ce67c771..0767e548d 100644
--- a/src/core/hle/service/nvflinger/buffer_queue_consumer.cpp
+++ b/src/core/hle/service/nvflinger/buffer_queue_consumer.cpp
@@ -169,7 +169,7 @@ Status BufferQueueConsumer::Connect(std::shared_ptr<IConsumerListener> consumer_
return Status::NoInit;
}
- core->consumer_listener = consumer_listener;
+ core->consumer_listener = std::move(consumer_listener);
core->consumer_controlled_by_app = controlled_by_app;
return Status::NoError;