GetTimeSteps(): remove list as reference so compute_next_timestep)_ can change it
This commit is contained in:
parent
2ecaa0545f
commit
c3c888dc04
@ -91,7 +91,7 @@ public:
|
||||
// helper function to find time steps for a tariff with PaymentMethod::Steps
|
||||
// (e.g. Schoenau/Koenigsee)
|
||||
//
|
||||
QList<int> GetTimeSteps(Configuration *cfg, int paymentOptionIndex=0) const;
|
||||
QList<int> &GetTimeSteps(Configuration *cfg, int paymentOptionIndex=0) const;
|
||||
QList<int> GetSteps(Configuration *cfg, int paymentOptionIndex=0) const { return GetTimeSteps(cfg, paymentOptionIndex); }
|
||||
|
||||
QList<int> GetPriceSteps(Configuration *cfg) const;
|
||||
|
Loading…
Reference in New Issue
Block a user