Rename several child() and children() functions

This commit is contained in:
Magne Sjaastad
2022-05-31 13:08:07 +02:00
parent c199f960e3
commit c74701b687
179 changed files with 429 additions and 431 deletions

View File

@@ -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 )
{