1
0
Fork 0
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:
Sergey Prigogin 2010-05-12 01:31:23 +00:00
parent 9d1ca32d39
commit f8ea863db6

View file

@ -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());
}