1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00

Code streamlining.

This commit is contained in:
Sergey Prigogin 2014-04-19 18:51:05 -07:00
parent 7aeacfdddc
commit a21efaf92e

View file

@ -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);
}
}