summaryrefslogtreecommitdiffstats
path: root/languages/cpp/ast_utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/ast_utils.cpp')
-rw-r--r--languages/cpp/ast_utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/languages/cpp/ast_utils.cpp b/languages/cpp/ast_utils.cpp
index d3dbba32..f6d19c2a 100644
--- a/languages/cpp/ast_utils.cpp
+++ b/languages/cpp/ast_utils.cpp
@@ -40,8 +40,8 @@ AST* findNodeAt( AST* node, int line, int column )
( line < endLine || ( line == endLine && column < endColumn ) ) )
{
- TQPtrList<AST> tqchildren = node->tqchildren();
- TQPtrListIterator<AST> it( tqchildren );
+ TQPtrList<AST> children = node->children();
+ TQPtrListIterator<AST> it( children );
while ( it.current() )
{
AST * a = it.current();