1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 01:15:29 +02:00

Bug 543819 - NPE in EvalFunctionSet.isEquivalentTo()

Change-Id: I4f443f95c1a9bff7150abec323ab8afc576d5f00
This commit is contained in:
Nathan Ridge 2019-01-25 01:52:57 -05:00
parent e5466b8204
commit 9290546e2f

View file

@ -167,6 +167,9 @@ public class EvalFunctionSet extends CPPDependentEvaluation {
return false;
}
EvalFunctionSet o = (EvalFunctionSet) other;
if (fFunctionSet == null) {
return o.fFunctionSet == null;
}
return fFunctionSet.equals(o.fFunctionSet);
}