mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
Code streamlining.
This commit is contained in:
parent
7aeacfdddc
commit
a21efaf92e
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue