Skip to content

Commit

Permalink
changed to use iterator position
Browse files Browse the repository at this point in the history
  • Loading branch information
r4stered committed Nov 26, 2023
1 parent 1110b93 commit d43a124
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ class VisionSystemSim {
auto it = std::find(targets.begin(), targets.end(), target);
if (it != targets.end()) {
removedList.emplace_back(target);
entry.second.erase(target);
entry.second.erase(it);
}
}
}
Expand Down

0 comments on commit d43a124

Please sign in to comment.