Skip to content

Commit

Permalink
fixing build #3
Browse files Browse the repository at this point in the history
  • Loading branch information
behrisch committed Jan 29, 2024
1 parent 83dc638 commit 1b012df
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/netedit/elements/GNEAttributeCarrier.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1875,7 +1875,7 @@ GNEAttributeCarrier::fillAdditionalElements() {
"900.00");
myTagProperties[currentTag].addAttribute(attrProperty);

attrProperty = GNEAttributeProperties(SUMO_ATTR_PARKINGAREA,
attrProperty = GNEAttributeProperties(SUMO_ATTR_PARKING_AREA,
GNEAttributeProperties::STRING | GNEAttributeProperties::UPDATEGEOMETRY,
TL("Parking area the charging station is located"));
myTagProperties[currentTag].addAttribute(attrProperty);
Expand Down
2 changes: 1 addition & 1 deletion src/netedit/elements/additional/GNEAdditionalHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ void
GNEAdditionalHandler::buildChargingStation(const CommonXMLStructure::SumoBaseObject* sumoBaseObject, const std::string& id,
const std::string& laneID, const double startPos, const double endPos, const std::string& name, const double chargingPower,
const double efficiency, const bool chargeInTransit, const SUMOTime chargeDelay, const std::string& chargeType,
const SUMOTime waitingTime, const bool friendlyPosition, const Parameterised::Map& parameters) {
const SUMOTime waitingTime, const bool friendlyPosition, const std::string& parkingAreaID, const Parameterised::Map& parameters) {
// check conditions
if (!SUMOXMLDefinitions::isValidAdditionalID(id)) {
writeInvalidID(SUMO_TAG_CHARGING_STATION, id);
Expand Down
2 changes: 1 addition & 1 deletion src/netedit/elements/additional/GNEAdditionalHandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class GNEAdditionalHandler : public AdditionalHandler {
void buildChargingStation(const CommonXMLStructure::SumoBaseObject* sumoBaseObject, const std::string& id, const std::string& laneID,
const double startPos, const double endPos, const std::string& name, const double chargingPower,
const double efficiency, const bool chargeInTransit, const SUMOTime chargeDelay, const std::string& chargeType,
const SUMOTime waitingTime, const bool friendlyPosition, const Parameterised::Map& parameters);
const SUMOTime waitingTime, const bool friendlyPosition, const std::string& parkingAreaID, const Parameterised::Map& parameters);

/**@brief Builds a Parking Area
* @param[in] sumoBaseObject sumo base object used for build
Expand Down

0 comments on commit 1b012df

Please sign in to comment.