Minor: changed parameter type to non-const.

This commit is contained in:
Gerhard Hoffmann 2024-09-30 16:50:21 +02:00
parent 5868d3b510
commit e3bbca86d5

View File

@ -235,7 +235,7 @@ std::optional<ATBTariffOutOfService> getOutOfService(Configuration const *cfg, Q
}
std::pair<CalcState, QDateTime>
Calculator::ComputeDurationFromCost(Configuration const *cfg,
Calculator::ComputeDurationFromCost(Configuration *cfg,
QDateTime const &startDatetimePassed, // given in local time
int cost) {
@ -463,7 +463,7 @@ Calculator::ComputeDurationFromCost(Configuration const *cfg,
}
std::pair<CalcState, std::optional<int>>
Calculator::ComputeCostFromDuration(Configuration const* cfg, QDateTime const &startDatetime,
Calculator::ComputeCostFromDuration(Configuration *cfg, QDateTime const &startDatetime,
QDateTime &endDatetime, int nettoParkingTime) {
// TODO