mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 02:06:01 +02:00
Bug 139583 - fixed not implemented error in PDOMCPPFunction.isSameType.
This commit is contained in:
parent
7ed6f99b0b
commit
07fa3d405e
1 changed files with 6 additions and 1 deletions
|
@ -164,7 +164,12 @@ public class PDOMCPPFunction extends PDOMBinding implements ICPPFunction, ICPPFu
|
|||
}
|
||||
|
||||
public boolean isSameType(IType type) {
|
||||
throw new PDOMNotImplementedError();
|
||||
if (type instanceof PDOMCPPFunction) {
|
||||
return record == ((PDOMCPPFunction)type).getRecord();
|
||||
} else {
|
||||
// TODO check the other type for matching name, params
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
public Object clone() {
|
||||
|
|
Loading…
Add table
Reference in a new issue