mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5279 Formations : Add const and simplify access
This commit is contained in:
@@ -1252,7 +1252,7 @@ void RimEclipseView::onUpdateLegends()
|
||||
}
|
||||
else
|
||||
{
|
||||
const std::vector<QString>& fnVector = eclipseCase->activeFormationNames()->formationNames();
|
||||
const std::vector<QString> fnVector = eclipseCase->formationNames();
|
||||
cellEdgeResult()->legendConfig()->setNamedCategoriesInverse( fnVector );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user