summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/Semantic.h
diff options
context:
space:
mode:
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);