1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 18:26:01 +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

@ -524,6 +524,8 @@ public class TemplateArgumentDeduction {
}
p = SemanticUtil.getNestedType(p, ALLCVQ);
a = SemanticUtil.getNestedType(a, ALLCVQ);
if (p instanceof IQualifierType)
return false;
if (remaining != CVQualifier._) {
a= SemanticUtil.addQualifiers(a, remaining.isConst(), remaining.isVolatile());
}