summaryrefslogtreecommitdiffstats
path: root/lib/cppparser/ast.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cppparser/ast.cpp')
-rw-r--r--lib/cppparser/ast.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/cppparser/ast.cpp b/lib/cppparser/ast.cpp
index 8fe6b82f..334ac62a 100644
--- a/lib/cppparser/ast.cpp
+++ b/lib/cppparser/ast.cpp
@@ -178,14 +178,14 @@ void AST::getEndPosition( int* line, int* col ) const
* col = m_endColumn;
}
-void AST::setParent( AST* tqparent )
+void AST::setParent( AST* parent )
{
#ifndef CPPPARSER_NO_CHILDREN
if( m_parent )
m_parent->removeChild( this );
#endif
- m_parent = tqparent;
+ m_parent = parent;
#ifndef CPPPARSER_NO_CHILDREN
if( m_parent )