From da403e574e217fdd9fb145b7cb9dd0836488dc3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Cou=C3=A9raud?= Date: Mon, 29 Jan 2024 11:52:10 +0100 Subject: [PATCH] Removed a const qualifier that I added. --- src/microsim/transportables/MSPModel_JuPedSim.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/microsim/transportables/MSPModel_JuPedSim.cpp b/src/microsim/transportables/MSPModel_JuPedSim.cpp index e47e51d9bdcb..593ca7f87fe4 100644 --- a/src/microsim/transportables/MSPModel_JuPedSim.cpp +++ b/src/microsim/transportables/MSPModel_JuPedSim.cpp @@ -306,7 +306,7 @@ MSPModel_JuPedSim::execute(SUMOTime time) { ConstMSEdgeVector route = stage->getEdges(); const int routeIndex = (int)(stage->getRouteStep() - stage->getRoute().begin()); ConstMSEdgeVector forwardRoute = ConstMSEdgeVector(route.begin() + routeIndex, route.end()); - const double bestDistance = std::numeric_limits::max(); + double bestDistance = std::numeric_limits::max(); MSLane* candidateLane = nullptr; double candidateLaneLongitudinalPosition = 0.0; int routeOffset = 0;