]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/mapping/AliMpRowSegment.cxx
Pass AliMpIntPair/TVector2/TString arguments by const reference,
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpRowSegment.cxx
index c6cd3b16f863b870dcce357d5a8e5de80760c5f0..cda4f29aee503215f3002e0febb13d68e3509ee4 100755 (executable)
@@ -299,7 +299,8 @@ void AliMpRowSegment::SetGlobalIndices()
 }  
 
 //_____________________________________________________________________________
-Int_t AliMpRowSegment::SetIndicesToMotifPosition(Int_t i, AliMpIntPair indices)
+Int_t AliMpRowSegment::SetIndicesToMotifPosition(Int_t i, 
+                                 const AliMpIntPair& indices)
 {
 // Sets global indices to i-th motif position and returns next index
 // in x.
@@ -354,7 +355,7 @@ Int_t  AliMpRowSegment::GetMotifPositionId(Int_t i) const
 }  
 
 //_____________________________________________________________________________
-AliMpVMotif*  AliMpRowSegment::GetMotif(Int_t i) const
+AliMpVMotif*  AliMpRowSegment::GetMotif(Int_t /*i*/) const
 {
 // Returns the motif of this row segment.
 // ---