aboutsummaryrefslogtreecommitdiff
path: root/src/tests/taf.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/tests/taf.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/tests/taf.cpp b/src/tests/taf.cpp
index f7af2b2..e7bad52 100644
--- a/src/tests/taf.cpp
+++ b/src/tests/taf.cpp
@@ -8,12 +8,9 @@ int main()
8 8
9 Bu::TafNode *pNode = tr.getNode(); 9 Bu::TafNode *pNode = tr.getNode();
10 10
11 const Bu::TafNode::NodeList &l = pNode->getNode("stats"); 11 const Bu::TafNode *pStats = pNode->getNode("stats");
12 for( Bu::TafNode::NodeList::const_iterator i = l.begin(); 12 printf("%s\n", pStats->getName().getStr() );
13 i != l.end(); i++ ) 13 printf(" str = %s\n", pStats->getProperty("str").getStr() );
14 {
15 printf("%s\n", (*i)->getName().getStr() );
16 }
17 14
18 delete pNode; 15 delete pNode;
19} 16}