Hi, I’m trying to fill a TSortedList, but I experience a problem I can’t explain. When calling list.Add(object), ROOT says
Error in TSortedList::Add: object must be sortable
though I’ve redefined the IsSortable method to return kTRUE. I’ve determined that my IsSortable method gets never called, because I’ve put a printf inside it and nothing appears. What’s going on? This happens on many different machines with different ROOT versions.
Thanks.
testlist.C (860 Bytes)