aboutsummaryrefslogtreecommitdiff
path: root/src/tafnode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tafnode.cpp')
-rw-r--r--src/tafnode.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tafnode.cpp b/src/tafnode.cpp
index b7cf211..7e171c9 100644
--- a/src/tafnode.cpp
+++ b/src/tafnode.cpp
@@ -56,7 +56,7 @@ const Bu::FString &Bu::TafGroup::getName() const
56 return sName; 56 return sName;
57} 57}
58 58
59void Bu::TafGroup::addChild( Bu::TafNode *pNode ) 59Bu::TafNode *Bu::TafGroup::addChild( Bu::TafNode *pNode )
60{ 60{
61 switch( pNode->getType() ) 61 switch( pNode->getType() )
62 { 62 {
@@ -83,6 +83,8 @@ void Bu::TafGroup::addChild( Bu::TafNode *pNode )
83 } 83 }
84 84
85 lChildren.append( pNode ); 85 lChildren.append( pNode );
86
87 return pNode;
86} 88}
87 89
88const Bu::TafGroup::GroupList &Bu::TafGroup::getChildren( const Bu::FString &sName ) const 90const Bu::TafGroup::GroupList &Bu::TafGroup::getChildren( const Bu::FString &sName ) const