Skip to content

Commit

Permalink
remove const ref #12 #14482
Browse files Browse the repository at this point in the history
Signed-off-by: m-kro <m.barthauer@t-online.de>
  • Loading branch information
m-kro committed May 2, 2024
1 parent 844928b commit f796ea3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/microsim/MSParkingArea.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ MSParkingArea::refuse(std::string badge) {


bool
MSParkingArea::accepts(const MSBaseVehicle* veh) const {
MSParkingArea::accepts(MSBaseVehicle* veh) const {
if (myAcceptedBadges.size() == 0) {
return true;
} else {
Expand Down
2 changes: 1 addition & 1 deletion src/microsim/MSParkingArea.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ class MSParkingArea : public MSStoppingPlace {
void refuse(std::string badge);

/// @brief Return the parking accepts the vehicle (due to its given badges)
bool accepts(const MSBaseVehicle* veh) const;
bool accepts(MSBaseVehicle* veh) const;

/** @brief Called if a vehicle enters this stop
*
Expand Down

0 comments on commit f796ea3

Please sign in to comment.