Hi Jose, the compiler tells you what's wrong. A const type and a non-const type are two different types, so your methods are never called, because they have the "wrong" argument types. Replace the methods with > Bool_t IsEqual (cont TObject *obj) const > Int_t Compare(const TObject *obj) const i.e. add "const" in front of TObject*. Cheers, Axel.
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:16 MET