diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPImplicitConstructor.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPImplicitConstructor.java index 1e6d2007f16..5e95a671a24 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPImplicitConstructor.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPImplicitConstructor.java @@ -26,10 +26,10 @@ import org.eclipse.cdt.internal.core.dom.parser.cpp.semantics.CPPVisitor; public class CPPImplicitConstructor extends CPPImplicitMethod implements ICPPConstructor { public CPPImplicitConstructor(ICPPClassScope scope, char[] name, ICPPParameter[] params) { - super(scope, name, createFunctionType(scope, params), params); + super(scope, name, createFunctionType(params), params); } - private static ICPPFunctionType createFunctionType(ICPPClassScope scope, IParameter[] params) { + private static ICPPFunctionType createFunctionType(IParameter[] params) { return CPPVisitor.createImplicitFunctionType(UNSPECIFIED_TYPE, params, false, false); } }