mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5279 Formations GeoMech : Add const and simplify access
This commit is contained in:
@@ -2031,10 +2031,7 @@ std::vector<QString> RimWellLogTrack::formationNamesVector( RimCase* rimCase )
|
||||
}
|
||||
else if ( geoMechCase )
|
||||
{
|
||||
if ( geoMechCase->geoMechData()->femPartResults()->activeFormationNames() )
|
||||
{
|
||||
return geoMechCase->geoMechData()->femPartResults()->activeFormationNames()->formationNames();
|
||||
}
|
||||
return geoMechCase->geoMechData()->femPartResults()->formationNames();
|
||||
}
|
||||
|
||||
return std::vector<QString>();
|
||||
|
||||
Reference in New Issue
Block a user