Skip to content

Commit

Permalink
Rename "list" parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonMarechal25 committed Jul 31, 2023
1 parent 339243c commit c4eb78a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class BindingConstraintsTimeSeriesNumbersWriter: public ITimeSeriesNumbersWriter
public:
explicit BindingConstraintsTimeSeriesNumbersWriter(std::shared_ptr<Antares::Solver::IResultWriter> resultWriter);
BindingConstraintsTimeSeriesNumbersWriter() = default;
void write(const Data::BindingConstraintGroupRepository &list) override;
void write(const Data::BindingConstraintGroupRepository &bindingConstraintGroupRepository) override;

private:
std::shared_ptr<IResultWriter> writer_;
Expand Down
4 changes: 2 additions & 2 deletions src/solver/simulation/TimeSeriesNumbersWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit c4eb78a

Please sign in to comment.