From 48107e894c553a27ef8b43a95545707dedd1c0ad Mon Sep 17 00:00:00 2001 From: Nathan Ridge Date: Wed, 27 May 2015 19:00:14 -0400 Subject: [PATCH] Bug 468557 - Fix a typo in CPPCompositesFactory.getCompositeBinding() that was causing a CompositingNotImplementedError Change-Id: Ida8e09dbc438f23ed3187f97429efe1a31b4d037 Signed-off-by: Nathan Ridge --- .../internal/core/index/composite/cpp/CPPCompositesFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/index/composite/cpp/CPPCompositesFactory.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/index/composite/cpp/CPPCompositesFactory.java index daa8743cc61..6c1ac684e0e 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/index/composite/cpp/CPPCompositesFactory.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/index/composite/cpp/CPPCompositesFactory.java @@ -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$