mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Rename several child() and children() functions
This commit is contained in:
@@ -155,7 +155,7 @@ void RimCustomObjectiveFunctionWeight::fieldChangedByUi( const caf::PdmFieldHand
|
||||
RimSummaryCaseCollection* candidateEnsemble = parentCurveSet()->summaryCaseCollection();
|
||||
|
||||
std::vector<RifEclipseSummaryAddress> candidateAddresses;
|
||||
for ( auto address : m_objectiveValuesSummaryAddresses().childObjects() )
|
||||
for ( auto address : m_objectiveValuesSummaryAddresses().children() )
|
||||
{
|
||||
candidateAddresses.push_back( address->address() );
|
||||
}
|
||||
@@ -167,7 +167,7 @@ void RimCustomObjectiveFunctionWeight::fieldChangedByUi( const caf::PdmFieldHand
|
||||
auto curveSelection = dlg.curveSelection();
|
||||
if ( !curveSelection.empty() )
|
||||
{
|
||||
m_objectiveValuesSummaryAddresses.clear();
|
||||
m_objectiveValuesSummaryAddresses.clearWithoutDelete();
|
||||
for ( auto address : curveSelection )
|
||||
{
|
||||
RimSummaryAddress* summaryAddress = new RimSummaryAddress();
|
||||
|
||||
Reference in New Issue
Block a user