GetTimeSteps(): changed return type, so comoute_next_timestep() can change the first element of step-list
This commit is contained in:
parent
8367eb9fa8
commit
a7f3477752
@ -91,7 +91,7 @@ public:
|
|||||||
// helper function to find time steps for a tariff with PaymentMethod::Steps
|
// helper function to find time steps for a tariff with PaymentMethod::Steps
|
||||||
// (e.g. Schoenau/Koenigsee)
|
// (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> GetSteps(Configuration *cfg, int paymentOptionIndex=0) const { return GetTimeSteps(cfg, paymentOptionIndex); }
|
||||||
|
|
||||||
QList<int> GetPriceSteps(Configuration *cfg) const;
|
QList<int> GetPriceSteps(Configuration *cfg) const;
|
||||||
|
Loading…
Reference in New Issue
Block a user