]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSEmcRecPoint.cxx
Compare() declared const (R.Brun)
[u/mrichter/AliRoot.git] / PHOS / AliPHOSEmcRecPoint.cxx
index bc06a2efd6b637f5d712517dcbfdb1b4bc85cbd6..ea03066627369ea70733d30f88a3960eb12fa6c8 100644 (file)
@@ -128,7 +128,7 @@ Bool_t AliPHOSEmcRecPoint::AreNeighbours(AliPHOSDigit * digit1, AliPHOSDigit * d
 }
 
 //____________________________________________________________________________
-Int_t AliPHOSEmcRecPoint::Compare(TObject * obj)
+Int_t AliPHOSEmcRecPoint::Compare(const TObject * obj) const
 {
   // Compares two RecPoints according to their position in the PHOS modules