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:
@@ -259,7 +259,7 @@ void RiaGrpcCommandService::assignPdmObjectValues( caf::PdmObjectHandle*
|
||||
if ( pdmChildFieldHandle )
|
||||
{
|
||||
std::vector<caf::PdmObjectHandle*> childObjects;
|
||||
pdmChildFieldHandle->childObjects( &childObjects );
|
||||
pdmChildFieldHandle->children( &childObjects );
|
||||
caf::PdmObjectHandle* childObject = nullptr;
|
||||
CAF_ASSERT( childObjects.size() <= 1u ); // We do not support child array fields yet
|
||||
|
||||
|
||||
@@ -416,7 +416,7 @@ grpc::Status RiaGrpcPdmObjectService::GetChildPdmObjects( grpc::ServerContext*
|
||||
if ( scriptability && scriptability->scriptFieldName() == fieldName )
|
||||
{
|
||||
std::vector<caf::PdmObjectHandle*> childObjects;
|
||||
field->childObjects( &childObjects );
|
||||
field->children( &childObjects );
|
||||
for ( auto pdmChild : childObjects )
|
||||
{
|
||||
rips::PdmObject* ripsChild = reply->add_objects();
|
||||
|
||||
Reference in New Issue
Block a user