diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2009-11-17 14:37:45 +0100 |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2009-11-17 14:37:45 +0100 |
commit | f9f990914dfa758fc9a610f5796c34a56672d5e3 (patch) | |
tree | 6a4a103b33ff740bb216d5b02d689eabc43b7398 /src/shared/cplusplus/CheckExpression.h | |
parent | f2c4d84c6c5773c8012f5542cd0dc08f652a23aa (diff) | |
download | qt-creator-f9f990914dfa758fc9a610f5796c34a56672d5e3.tar.gz |
Pass the fully specified type as const reference.
Diffstat (limited to 'src/shared/cplusplus/CheckExpression.h')
-rw-r--r-- | src/shared/cplusplus/CheckExpression.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/cplusplus/CheckExpression.h b/src/shared/cplusplus/CheckExpression.h index 2ef3a62903..8085731df5 100644 --- a/src/shared/cplusplus/CheckExpression.h +++ b/src/shared/cplusplus/CheckExpression.h @@ -66,7 +66,7 @@ public: protected: ExpressionAST *switchExpression(ExpressionAST *expression); - FullySpecifiedType switchFullySpecifiedType(FullySpecifiedType type); + FullySpecifiedType switchFullySpecifiedType(const FullySpecifiedType &type); Scope *switchScope(Scope *scope); using ASTVisitor::visit; |