diff options
| author | Ameer J <52414509+ameerj@users.noreply.github.com> | 2020-12-28 13:53:28 -0500 |
|---|---|---|
| committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-01-07 14:33:45 -0500 |
| commit | 21ff77c366c3488ce9e61d8fc151cda994a71f20 (patch) | |
| tree | 7039db82d3a5b08b2f7d437bb572f818645a8e7d /src/video_core/command_classes/sync_manager.cpp | |
| parent | 30f3faf3e27e9966e2115081f8490217b9a69789 (diff) | |
remove inaccurate reference
Co-authored-by: LC <mathew1800@gmail.com>
Diffstat (limited to 'src/video_core/command_classes/sync_manager.cpp')
| -rw-r--r-- | src/video_core/command_classes/sync_manager.cpp | 2 |
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 5798577663..19dc9e0abb 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()) { |
