aboutsummaryrefslogtreecommitdiff
path: root/src/tafnode.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2007-06-27 22:12:33 +0000
committerMike Buland <eichlan@xagasoft.com>2007-06-27 22:12:33 +0000
commit850f977e83182745549e907f8d86c4272e5f443b (patch)
tree5bb4f4a1487c72236ee78231d197d0338940cce1 /src/tafnode.cpp
parentd79253e87306607a0985abaeba0b87242f3532b7 (diff)
downloadlibbu++-850f977e83182745549e907f8d86c4272e5f443b.tar.gz
libbu++-850f977e83182745549e907f8d86c4272e5f443b.tar.bz2
libbu++-850f977e83182745549e907f8d86c4272e5f443b.tar.xz
libbu++-850f977e83182745549e907f8d86c4272e5f443b.zip
Tweaked a tafnode function.
Diffstat (limited to '')
-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