]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONSegment.h
Compare() declared const (R.Brun)
[u/mrichter/AliRoot.git] / MUON / AliMUONSegment.h
index e4c242fe8a334040bc5cf78dd284c515481ab382..ffd0233d58355c14aad02eb7dbe944689e61e945 100644 (file)
@@ -79,7 +79,7 @@ class AliMUONSegment : public TObject {
 
   // What is necessary for sorting TClonesArray's; sufficient too ????
   Bool_t IsSortable() const { return kTRUE; }
-  Int_t Compare(TObject* Segment); // "Compare" function for sorting
+  Int_t Compare(const TObject* Segment) const; // "Compare" function for sorting
  protected:
  private:
   AliMUONHitForRec* fHitForRecPtr1; // pointer to HitForRec in first chamber