Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
payetvin committed Jul 19, 2024
1 parent d69b14d commit fe396d6
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/libs/antares/study/area/list.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -465,16 +465,16 @@ void AreaList::rebuildIndexes()
{
byIndex.clear();

byIndex.resize(areas.size());

uint indx = 0;
auto end = areas.end();
for (auto i = areas.begin(); i != end; ++i, ++indx)
{
Area* area = i->second;
byIndex[indx] = area;
area->index = indx;
}
byIndex.resize(areas.size());

uint indx = 0;
auto end = areas.end();
for (auto i = areas.begin(); i != end; ++i, ++indx)
{
Area* area = i->second;
byIndex[indx] = area;
area->index = indx;
}
}

Area* AreaList::add(Area* a)
Expand Down

0 comments on commit fe396d6

Please sign in to comment.