Skip to content

Commit

Permalink
fixing warning refs #12
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Feb 26, 2025
1 parent 51ee4c5 commit 3d0e56c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/microsim/lcmodels/MSLCM_SL2015.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3010,6 +3010,7 @@ MSLCM_SL2015::mustOvertakeStopped(bool checkCurrent, const MSLane& neighLane, co
const int dir = latLaneDist < 0 ? -1 : 1;
const MSLane* neighBeyond = neighLane.getParallelLane(dir);
const bool hasLaneBeyond = checkCurrent && neighBeyond != nullptr && neighBeyond->allowsVehicleClass(myVehicle.getVClass());
UNUSED_PARAMETER(hasLaneBeyond);
if (curHasStopped) {
leaders.getSubLanes(&myVehicle, 0, rightmost, leftmost);
for (int i = rightmost; i <= leftmost; i++) {
Expand Down

0 comments on commit 3d0e56c

Please sign in to comment.