summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAmeer J <52414509+ameerj@users.noreply.github.com>2020-12-28 19:53:28 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2021-01-07 20:33:45 +0100
commit16392a23cc864ef0fa8a768584fbcc64fec40f2a (patch)
tree7039db82d3a5b08b2f7d437bb572f818645a8e7d /src
parentfix for nvdec disabled, cleanup host1x (diff)
downloadyuzu-16392a23cc864ef0fa8a768584fbcc64fec40f2a.tar
yuzu-16392a23cc864ef0fa8a768584fbcc64fec40f2a.tar.gz
yuzu-16392a23cc864ef0fa8a768584fbcc64fec40f2a.tar.bz2
yuzu-16392a23cc864ef0fa8a768584fbcc64fec40f2a.tar.lz
yuzu-16392a23cc864ef0fa8a768584fbcc64fec40f2a.tar.xz
yuzu-16392a23cc864ef0fa8a768584fbcc64fec40f2a.tar.zst
yuzu-16392a23cc864ef0fa8a768584fbcc64fec40f2a.zip
Diffstat (limited to 'src')
-rw-r--r--src/video_core/command_classes/sync_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/command_classes/sync_manager.cpp b/src/video_core/command_classes/sync_manager.cpp
index 579857766..19dc9e0ab 100644
--- a/src/video_core/command_classes/sync_manager.cpp
+++ b/src/video_core/command_classes/sync_manager.cpp
@@ -38,7 +38,7 @@ u32 SyncptIncrManager::IncrementWhenDone(u32 class_id, u32 id) {
}
void SyncptIncrManager::SignalDone(u32 handle) {
- const auto& done_incr =
+ const auto done_incr =
std::find_if(increments.begin(), increments.end(),
[handle](const SyncptIncr& incr) { return incr.id == handle; });
if (done_incr != increments.cend()) {