diff options
author | Mike Buland <eichlan@xagasoft.com> | 2007-06-27 22:12:33 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2007-06-27 22:12:33 +0000 |
commit | 850f977e83182745549e907f8d86c4272e5f443b (patch) | |
tree | 5bb4f4a1487c72236ee78231d197d0338940cce1 /src/tafnode.cpp | |
parent | d79253e87306607a0985abaeba0b87242f3532b7 (diff) | |
download | libbu++-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.cpp | 4 |
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 | ||
59 | void Bu::TafGroup::addChild( Bu::TafNode *pNode ) | 59 | Bu::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 | ||
88 | const Bu::TafGroup::GroupList &Bu::TafGroup::getChildren( const Bu::FString &sName ) const | 90 | const Bu::TafGroup::GroupList &Bu::TafGroup::getChildren( const Bu::FString &sName ) const |