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:
@@ -80,7 +80,7 @@ RimCustomObjectiveFunctionWeight* RimCustomObjectiveFunction::addWeight()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
std::vector<RimCustomObjectiveFunctionWeight*> RimCustomObjectiveFunction::weights() const
|
||||
{
|
||||
return m_weights.childObjects();
|
||||
return m_weights.children();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -350,7 +350,7 @@ RimCustomObjectiveFunctionCollection* RimCustomObjectiveFunction::parentCollecti
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimObjectiveFunction* RimCustomObjectiveFunction::objectiveFunction( RimObjectiveFunction::FunctionType functionType ) const
|
||||
{
|
||||
for ( auto objectiveFunc : m_objectiveFunctions.childObjects() )
|
||||
for ( auto objectiveFunc : m_objectiveFunctions.children() )
|
||||
{
|
||||
if ( objectiveFunc->functionType() == functionType )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user