diff --git a/src/solver/simulation/BindingConstraintsTimeSeriesNumbersWriter.h b/src/solver/simulation/BindingConstraintsTimeSeriesNumbersWriter.h index 8b0c72a706..98b53997a1 100644 --- a/src/solver/simulation/BindingConstraintsTimeSeriesNumbersWriter.h +++ b/src/solver/simulation/BindingConstraintsTimeSeriesNumbersWriter.h @@ -15,7 +15,7 @@ class BindingConstraintsTimeSeriesNumbersWriter: public ITimeSeriesNumbersWriter public: explicit BindingConstraintsTimeSeriesNumbersWriter(std::shared_ptr resultWriter); BindingConstraintsTimeSeriesNumbersWriter() = default; - void write(const Data::BindingConstraintGroupRepository &list) override; + void write(const Data::BindingConstraintGroupRepository &bindingConstraintGroupRepository) override; private: std::shared_ptr writer_; diff --git a/src/solver/simulation/TimeSeriesNumbersWriter.cpp b/src/solver/simulation/TimeSeriesNumbersWriter.cpp index 5440592502..b993d57a6f 100644 --- a/src/solver/simulation/TimeSeriesNumbersWriter.cpp +++ b/src/solver/simulation/TimeSeriesNumbersWriter.cpp @@ -46,8 +46,8 @@ static void genericStoreTimeseriesNumbers(const Solver::IResultWriter::Ptr& writ writer->addEntryFromBuffer(path.string(), buffer); } -void BindingConstraintsTimeSeriesNumbersWriter::write(const Data::BindingConstraintGroupRepository &list) { - for (auto const& group: list) { +void BindingConstraintsTimeSeriesNumbersWriter::write(const Data::BindingConstraintGroupRepository &bindingConstraintGroupRepository) { + for (auto const& group: bindingConstraintGroupRepository) { genericStoreTimeseriesNumbers(writer_, group->timeSeriesNumbers().timeseriesNumbers, group->name(),