remove inaccurate reference

Co-authored-by: LC <mathew1800@gmail.com>
This commit is contained in:
Ameer J 2020-12-28 13:53:28 -05:00 committed by ameerj
parent 06cef3355e
commit 16392a23cc

View File

@ -38,7 +38,7 @@ u32 SyncptIncrManager::IncrementWhenDone(u32 class_id, u32 id) {
} }
void SyncptIncrManager::SignalDone(u32 handle) { void SyncptIncrManager::SignalDone(u32 handle) {
const auto& done_incr = const auto done_incr =
std::find_if(increments.begin(), increments.end(), std::find_if(increments.begin(), increments.end(),
[handle](const SyncptIncr& incr) { return incr.id == handle; }); [handle](const SyncptIncr& incr) { return incr.id == handle; });
if (done_incr != increments.cend()) { if (done_incr != increments.cend()) {