summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/Semantic.h
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.h
parentd80f0f07f4f3af958caca1bc2dbcb27dc395fe77 (diff)
downloadqt-creator-5eecdb3be09d69770d3cfb461c7b4fef215295ef.tar.gz
Don't use std::map to store types.
Diffstat (limited to 'src/shared/cplusplus/Semantic.h')
-rw-r--r--src/shared/cplusplus/Semantic.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/cplusplus/Semantic.h b/src/shared/cplusplus/Semantic.h
index 4a2ebfc2fb..f6a4e528f4 100644
--- a/src/shared/cplusplus/Semantic.h
+++ b/src/shared/cplusplus/Semantic.h
@@ -69,10 +69,10 @@ public:
FullySpecifiedType check(SpecifierListAST *specifier, Scope *scope);
- FullySpecifiedType check(DeclaratorAST *declarator, FullySpecifiedType type,
+ FullySpecifiedType check(DeclaratorAST *declarator, const FullySpecifiedType &type,
Scope *scope, Name **name = 0); // ### ugly
- FullySpecifiedType check(PtrOperatorListAST *ptrOperators, FullySpecifiedType type,
+ FullySpecifiedType check(PtrOperatorListAST *ptrOperators, const FullySpecifiedType &type,
Scope *scope);
FullySpecifiedType check(ObjCMethodPrototypeAST *methodPrototype, Scope *scope);