mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 10:16:03 +02:00
Fix for bug 312198. Submitted on behalf of Markus,
This commit is contained in:
parent
9d1ca32d39
commit
f8ea863db6
1 changed files with 3 additions and 1 deletions
|
@ -523,7 +523,9 @@ public class TemplateArgumentDeduction {
|
|||
remaining= cvqA.remove(cvqP);
|
||||
}
|
||||
p = SemanticUtil.getNestedType(p, ALLCVQ);
|
||||
a = SemanticUtil.getNestedType(a, ALLCVQ);
|
||||
a = SemanticUtil.getNestedType(a, ALLCVQ);
|
||||
if (p instanceof IQualifierType)
|
||||
return false;
|
||||
if (remaining != CVQualifier._) {
|
||||
a= SemanticUtil.addQualifiers(a, remaining.isConst(), remaining.isVolatile());
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue