Skip to content

Commit

Permalink
change from ref to copy
Browse files Browse the repository at this point in the history
  • Loading branch information
r4stered committed Nov 26, 2023
1 parent 4605265 commit 1110b93
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ class VisionSystemSim {
const std::vector<VisionTargetSim>& targets) {
std::vector<VisionTargetSim> removedList;
for (auto& entry : targetSets) {
for (auto& target : entry.second) {
for (auto target : entry.second) {
auto it = std::find(targets.begin(), targets.end(), target);
if (it != targets.end()) {
removedList.emplace_back(target);
Expand Down

0 comments on commit 1110b93

Please sign in to comment.