summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/codeimport/kdevcppparser/ast.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-08-23 22:36:58 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-08-23 22:36:58 +0900
commit8dd73fd330cb0d18ec6f24f01ce47641c659fc1b (patch)
treef942a95c7455e7abfbcabec25dce4699df316232 /umbrello/umbrello/codeimport/kdevcppparser/ast.cpp
parent504126f470f73d092593a07e91cde6d9116a46ac (diff)
downloadtdesdk-8dd73fd330cb0d18ec6f24f01ce47641c659fc1b.tar.gz
tdesdk-8dd73fd330cb0d18ec6f24f01ce47641c659fc1b.zip
Fixed typedef-related warnings from compiler.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'umbrello/umbrello/codeimport/kdevcppparser/ast.cpp')
-rw-r--r--umbrello/umbrello/codeimport/kdevcppparser/ast.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/umbrello/umbrello/codeimport/kdevcppparser/ast.cpp b/umbrello/umbrello/codeimport/kdevcppparser/ast.cpp
index 8e6922ee..c10e6da6 100644
--- a/umbrello/umbrello/codeimport/kdevcppparser/ast.cpp
+++ b/umbrello/umbrello/codeimport/kdevcppparser/ast.cpp
@@ -711,7 +711,7 @@ void DeclaratorAST::addArrayDimension( AST::Node& arrayDimension )
m_arrayDimensionList.append( arrayDimension.release() );
}
-void DeclaratorAST::setParameterDeclarationClause( AUTO_PTR<class ParameterDeclarationClauseAST>& parameterDeclarationClause )
+void DeclaratorAST::setParameterDeclarationClause( std::auto_ptr<class ParameterDeclarationClauseAST>& parameterDeclarationClause )
{
m_parameterDeclarationClause = parameterDeclarationClause;
if( m_parameterDeclarationClause.get() ) m_parameterDeclarationClause->setParent( this );
@@ -1102,7 +1102,7 @@ void TypeParameterAST::setKind( AST::Node& kind )
if( m_kind.get() ) m_kind->setParent( this );
}
-void TypeParameterAST::setTemplateParameterList( AUTO_PTR<class TemplateParameterListAST>& templateParameterList )
+void TypeParameterAST::setTemplateParameterList( std::auto_ptr<class TemplateParameterListAST>& templateParameterList )
{
m_templateParameterList = templateParameterList;
if( m_templateParameterList.get() ) m_templateParameterList->setParent( this );