GetPriceForTimeStep(): remove default parameter.
This commit is contained in:
parent
37652d3b6a
commit
24ab01695d
@ -133,10 +133,10 @@ private:
|
|||||||
int durationMinutes);
|
int durationMinutes);
|
||||||
|
|
||||||
//
|
//
|
||||||
uint32_t GetPriceForTimeStep(Configuration *cfg, int timeStep, int paymentOptionIndex=0) const;
|
uint32_t GetPriceForTimeStep(Configuration *cfg, int timeStep, int paymentOptionIndex) const;
|
||||||
uint32_t GetPriceForStep(Configuration *cfg, int step) const {
|
//uint32_t GetPriceForStep(Configuration *cfg, int step) const {
|
||||||
return GetPriceForTimeStep(cfg, step);
|
// return GetPriceForTimeStep(cfg, step, 0);
|
||||||
}
|
//}
|
||||||
uint32_t GetDurationForPrice(Configuration *cfg, int price) const;
|
uint32_t GetDurationForPrice(Configuration *cfg, int price) const;
|
||||||
uint32_t GetStepForPrice(Configuration *cfg, int price) const {
|
uint32_t GetStepForPrice(Configuration *cfg, int price) const {
|
||||||
return GetDurationForPrice(cfg, price);
|
return GetDurationForPrice(cfg, price);
|
||||||
|
Loading…
Reference in New Issue
Block a user