diff --git a/library/include/mobilisis/calculator_functions.h b/library/include/mobilisis/calculator_functions.h index de40267..be42a1f 100644 --- a/library/include/mobilisis/calculator_functions.h +++ b/library/include/mobilisis/calculator_functions.h @@ -91,7 +91,7 @@ public: // helper function to find time steps for a tariff with PaymentMethod::Steps // (e.g. Schoenau/Koenigsee) // - QList GetTimeSteps(Configuration *cfg, int paymentOptionIndex=0) const; + QList &GetTimeSteps(Configuration *cfg, int paymentOptionIndex=0) const; QList GetSteps(Configuration *cfg, int paymentOptionIndex=0) const { return GetTimeSteps(cfg, paymentOptionIndex); } QList GetPriceSteps(Configuration *cfg) const;