mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Release 2023.06
This commit is contained in:
@@ -116,8 +116,7 @@ QString RimFormationNames::fileNameWoPath()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimFormationNames::updateConnectedViews()
|
||||
{
|
||||
std::vector<RimCase*> objects;
|
||||
this->objectsWithReferringPtrFieldsOfType( objects );
|
||||
std::vector<RimCase*> objects = objectsWithReferringPtrFieldsOfType<RimCase>();
|
||||
|
||||
for ( RimCase* caseObj : objects )
|
||||
{
|
||||
@@ -125,8 +124,7 @@ void RimFormationNames::updateConnectedViews()
|
||||
{
|
||||
caseObj->updateFormationNamesData();
|
||||
|
||||
std::vector<RimWellLogTrack*> tracks;
|
||||
caseObj->objectsWithReferringPtrFieldsOfType( tracks );
|
||||
std::vector<RimWellLogTrack*> tracks = caseObj->objectsWithReferringPtrFieldsOfType<RimWellLogTrack>();
|
||||
for ( RimWellLogTrack* track : tracks )
|
||||
{
|
||||
// The track may be referring to the case for other reasons than formations.
|
||||
|
||||
Reference in New Issue
Block a user