summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAmeer J <52414509+ameerj@users.noreply.github.com>2020-12-28 13:53:28 -0500
committerameerj <52414509+ameerj@users.noreply.github.com>2021-01-07 14:33:45 -0500
commit16392a23cc864ef0fa8a768584fbcc64fec40f2a (patch)
tree7039db82d3a5b08b2f7d437bb572f818645a8e7d /src
parent06cef3355e415be83db3bc6d19b022de0b977580 (diff)
remove inaccurate reference
Co-authored-by: LC <mathew1800@gmail.com>
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()) {