summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/Semantic.cpp
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2009-11-23 12:42:28 +0100
committerRoberto Raggi <roberto.raggi@nokia.com>2009-11-23 12:53:34 +0100
commit5eecdb3be09d69770d3cfb461c7b4fef215295ef (patch)
treef46657a143aeb86ab081243ced5edbb207c79237 /src/shared/cplusplus/Semantic.cpp
parentd80f0f07f4f3af958caca1bc2dbcb27dc395fe77 (diff)
downloadqt-creator-5eecdb3be09d69770d3cfb461c7b4fef215295ef.tar.gz
Don't use std::map to store types.
Diffstat (limited to 'src/shared/cplusplus/Semantic.cpp')
-rw-r--r--src/shared/cplusplus/Semantic.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/cplusplus/Semantic.cpp b/src/shared/cplusplus/Semantic.cpp
index 23e2fa2c95..74d870a91c 100644
--- a/src/shared/cplusplus/Semantic.cpp
+++ b/src/shared/cplusplus/Semantic.cpp
@@ -131,11 +131,11 @@ FullySpecifiedType Semantic::check(SpecifierListAST *specifier, Scope *scope)
void Semantic::check(DeclarationAST *declaration, Scope *scope, TemplateParameters *templateParameters)
{ d->checkDeclaration->check(declaration, scope, templateParameters); }
-FullySpecifiedType Semantic::check(DeclaratorAST *declarator, FullySpecifiedType type,
+FullySpecifiedType Semantic::check(DeclaratorAST *declarator, const FullySpecifiedType &type,
Scope *scope, Name **name)
{ return d->checkDeclarator->check(declarator, type, scope, name); }
-FullySpecifiedType Semantic::check(PtrOperatorListAST *ptrOperators, FullySpecifiedType type,
+FullySpecifiedType Semantic::check(PtrOperatorListAST *ptrOperators, const FullySpecifiedType &type,
Scope *scope)
{ return d->checkDeclarator->check(ptrOperators, type, scope); }