1
0
Fork 0
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:
Doug Schaefer 2006-05-01 19:42:50 +00:00
parent 7ed6f99b0b
commit 07fa3d405e

View file

@ -164,7 +164,12 @@ public class PDOMCPPFunction extends PDOMBinding implements ICPPFunction, ICPPFu
} }
public boolean isSameType(IType type) { 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() { public Object clone() {