diff --git a/src/utils/xml/SUMOXMLDefinitions.cpp b/src/utils/xml/SUMOXMLDefinitions.cpp index a29f45606e01..f3a6e67ce02d 100644 --- a/src/utils/xml/SUMOXMLDefinitions.cpp +++ b/src/utils/xml/SUMOXMLDefinitions.cpp @@ -1473,7 +1473,7 @@ StringBijection::Entry SUMOXMLDefinitions::parkingTypeValues[] = { StringBijection::Entry SUMOXMLDefinitions::chargeTypeValues[] = { {"normal", ChargeType::NORMAL }, // default: either connected with a wire or charged by induction - {"battery-exchange", ChargeType::BATERY_ECHANGE}, // battery echange + {"battery-exchange", ChargeType::BATTERY_ECHANGE}, // battery echange {"fuel", ChargeType::FUEL } // use fuel for charging }; diff --git a/src/utils/xml/SUMOXMLDefinitions.h b/src/utils/xml/SUMOXMLDefinitions.h index 62eb507f093e..8333d9ba5716 100644 --- a/src/utils/xml/SUMOXMLDefinitions.h +++ b/src/utils/xml/SUMOXMLDefinitions.h @@ -1974,7 +1974,7 @@ enum class ParkingType { */ enum class ChargeType { NORMAL = 0, - BATERY_ECHANGE = 1, + BATTERY_ECHANGE = 1, FUEL = 2, };