Minor: changed parameter type to non-const.
This commit is contained in:
parent
5868d3b510
commit
e3bbca86d5
@ -235,7 +235,7 @@ std::optional<ATBTariffOutOfService> getOutOfService(Configuration const *cfg, Q
|
|||||||
}
|
}
|
||||||
|
|
||||||
std::pair<CalcState, QDateTime>
|
std::pair<CalcState, QDateTime>
|
||||||
Calculator::ComputeDurationFromCost(Configuration const *cfg,
|
Calculator::ComputeDurationFromCost(Configuration *cfg,
|
||||||
QDateTime const &startDatetimePassed, // given in local time
|
QDateTime const &startDatetimePassed, // given in local time
|
||||||
int cost) {
|
int cost) {
|
||||||
|
|
||||||
@ -463,7 +463,7 @@ Calculator::ComputeDurationFromCost(Configuration const *cfg,
|
|||||||
}
|
}
|
||||||
|
|
||||||
std::pair<CalcState, std::optional<int>>
|
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) {
|
QDateTime &endDatetime, int nettoParkingTime) {
|
||||||
|
|
||||||
// TODO
|
// TODO
|
||||||
|
Loading…
Reference in New Issue
Block a user