From 0e57b15b467fd683d3fb8493a7d04499645c5289 Mon Sep 17 00:00:00 2001 From: Drew Williams Date: Sat, 25 Nov 2023 18:45:59 -0500 Subject: [PATCH] fixed capitilization error --- .../main/native/include/photon/simulation/VisionSystemSim.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/photon-lib/src/main/native/include/photon/simulation/VisionSystemSim.h b/photon-lib/src/main/native/include/photon/simulation/VisionSystemSim.h index 4b26efc071..0a038f11b3 100644 --- a/photon-lib/src/main/native/include/photon/simulation/VisionSystemSim.h +++ b/photon-lib/src/main/native/include/photon/simulation/VisionSystemSim.h @@ -34,7 +34,7 @@ #include #include #include -#include +#include #include "photon/simulation/PhotonCameraSim.h" @@ -181,8 +181,8 @@ class VisionSystemSim { std::vector RemoveVisionTargets( const std::vector& targets) { std::vector removedList; - for (const auto& entry : targetSets) { - for (const auto& target : entry.second) { + for (auto& entry : targetSets) { + for (auto& target : entry.second) { auto it = std::find(targets.begin(), targets.end(), target); if (it != targets.end()) { removedList.emplace_back(target);