1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-01 14:15:23 +02:00

Bug 468557 - Fix a typo in CPPCompositesFactory.getCompositeBinding()

that was causing a CompositingNotImplementedError

Change-Id: Ida8e09dbc438f23ed3187f97429efe1a31b4d037
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
This commit is contained in:
Nathan Ridge 2015-05-27 19:00:14 -04:00 committed by Sergey Prigogin
parent cfe522bc39
commit 48107e894c

View file

@ -567,7 +567,7 @@ public class CPPCompositesFactory extends AbstractCompositeFactory {
return new CompositeCPPConstructorTemplateSpecialization(this, (ICPPConstructor) binding);
} else if (binding instanceof ICPPMethod) {
return new CompositeCPPMethodTemplateSpecialization(this, (ICPPMethod) binding);
} else if (binding instanceof ICPPFunctionType) {
} else if (binding instanceof ICPPFunction) {
return new CompositeCPPFunctionTemplateSpecialization(this, (ICPPFunction) binding);
} else {
throw new CompositingNotImplementedError("Composite binding unavailable for " + binding + " " + binding.getClass()); //$NON-NLS-1$ //$NON-NLS-2$