mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Fixed a typo.
This commit is contained in:
parent
c7cc50c93e
commit
97974585ef
1 changed files with 2 additions and 2 deletions
|
@ -683,7 +683,7 @@ public class TemplateArgumentDeduction {
|
|||
|
||||
private boolean fromType(IType p, IType a, boolean allowCVQConversion, IASTNode point) throws DOMException {
|
||||
while (p != null) {
|
||||
IType argyumentTypeBeforeTypedefResolution = a;
|
||||
IType argumentTypeBeforeTypedefResolution = a;
|
||||
while (a instanceof ITypedef)
|
||||
a = ((ITypedef) a).getType();
|
||||
if (p instanceof IBasicType) {
|
||||
|
@ -776,7 +776,7 @@ public class TemplateArgumentDeduction {
|
|||
}
|
||||
if (a == null)
|
||||
return false;
|
||||
return deduce(((ICPPTemplateParameter) p).getParameterID(), new CPPTemplateTypeArgument(a, argyumentTypeBeforeTypedefResolution));
|
||||
return deduce(((ICPPTemplateParameter) p).getParameterID(), new CPPTemplateTypeArgument(a, argumentTypeBeforeTypedefResolution));
|
||||
} else if (p instanceof ICPPTemplateInstance) {
|
||||
if (!(a instanceof ICPPTemplateInstance))
|
||||
return false;
|
||||
|
|
Loading…
Add table
Reference in a new issue