mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-06 07:45:50 +02:00
Minor optimization.
This commit is contained in:
parent
25a5e3e01f
commit
8e3b8e26e4
1 changed files with 6 additions and 8 deletions
|
@ -27,10 +27,8 @@ import org.eclipse.core.runtime.CoreException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Bryan Wilkinson
|
* @author Bryan Wilkinson
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
abstract class PDOMCPPInstance extends PDOMCPPSpecialization implements
|
abstract class PDOMCPPInstance extends PDOMCPPSpecialization implements ICPPTemplateInstance {
|
||||||
ICPPTemplateInstance {
|
|
||||||
|
|
||||||
private static final int ARGUMENTS = PDOMCPPSpecialization.RECORD_SIZE + 0;
|
private static final int ARGUMENTS = PDOMCPPSpecialization.RECORD_SIZE + 0;
|
||||||
|
|
||||||
|
@ -84,7 +82,7 @@ abstract class PDOMCPPInstance extends PDOMCPPSpecialization implements
|
||||||
return visitor.getTemplateArguments();
|
return visitor.getTemplateArguments();
|
||||||
} catch (CoreException e) {
|
} catch (CoreException e) {
|
||||||
CCorePlugin.log(e);
|
CCorePlugin.log(e);
|
||||||
return new IType[0];
|
return IType.EMPTY_TYPE_ARRAY;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue