forked from qt-creator/qt-creator
Debugger: Ignore differences in 'const'-ness in type column
It's generally not too useful to see it at all, and in cases of 'const int' vs 'int const' it just defeats the test's purpose. Change-Id: I3439dd8fcee28ffd1e599300a1c12f3215823573 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -270,6 +270,7 @@ struct Type
|
||||
actualType.replace(' ', "");
|
||||
QByteArray expectedType = type;
|
||||
expectedType.replace(' ', "");
|
||||
expectedType.replace("const", "");
|
||||
expectedType.replace('@', context.nameSpace);
|
||||
return actualType == expectedType;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user