forked from qt-creator/qt-creator
Pass the fully specified type as const reference.
This commit is contained in:
@@ -86,7 +86,7 @@ ExpressionAST *CheckExpression::switchExpression(ExpressionAST *expression)
|
||||
return previousExpression;
|
||||
}
|
||||
|
||||
FullySpecifiedType CheckExpression::switchFullySpecifiedType(FullySpecifiedType type)
|
||||
FullySpecifiedType CheckExpression::switchFullySpecifiedType(const FullySpecifiedType &type)
|
||||
{
|
||||
FullySpecifiedType previousType = _fullySpecifiedType;
|
||||
_fullySpecifiedType = type;
|
||||
|
||||
Reference in New Issue
Block a user