Skip to content

Commit

Permalink
Removed a const qualifier that I added.
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoueraud87 authored and behrisch committed Jan 29, 2024
1 parent 47dd7d5 commit da403e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/microsim/transportables/MSPModel_JuPedSim.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<double>::max();
double bestDistance = std::numeric_limits<double>::max();
MSLane* candidateLane = nullptr;
double candidateLaneLongitudinalPosition = 0.0;
int routeOffset = 0;
Expand Down

0 comments on commit da403e5

Please sign in to comment.