diff options
author | Lioncash <mathew1800@gmail.com> | 2022-11-29 01:12:23 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2022-11-29 01:12:26 +0100 |
commit | 3020f72b0ced962115dec59def983eb70f7c004f (patch) | |
tree | e49a7e919bea62e824218e5f8a76d8cde4f9c094 /src | |
parent | consumer_base: Pass shared_ptr by const reference (diff) | |
download | yuzu-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 '')
-rw-r--r-- | src/core/hle/service/nvflinger/buffer_queue_consumer.cpp | 2 |
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; |