Skip to content

Commit

Permalink
Fix initialization order warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
payetvin committed Jun 21, 2024
1 parent 6ce594f commit 67863e2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/libs/antares/study/area/area.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,17 @@ void Area::internalInitialize()
}

Area::Area():
hydro(*this),
reserves(fhrMax, HOURS_PER_YEAR),
miscGen(fhhMax, HOURS_PER_YEAR)
miscGen(fhhMax, HOURS_PER_YEAR),
hydro(*this)
{
internalInitialize();
}

Area::Area(const AnyString& name):
hydro(*this),
reserves(fhrMax, HOURS_PER_YEAR),
miscGen(fhhMax, HOURS_PER_YEAR)
miscGen(fhhMax, HOURS_PER_YEAR),
hydro(*this)
{
internalInitialize();
this->name = name;
Expand All @@ -64,9 +64,9 @@ Area::Area(const AnyString& name):

Area::Area(const AnyString& name, const AnyString& id):

hydro(*this),
reserves(fhrMax, HOURS_PER_YEAR),
miscGen(fhhMax, HOURS_PER_YEAR)
miscGen(fhhMax, HOURS_PER_YEAR),
hydro(*this)
{
internalInitialize();
this->name = name;
Expand Down

0 comments on commit 67863e2

Please sign in to comment.