coverity fixes
authorauras <auras@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 17 Feb 2012 13:40:29 +0000 (13:40 +0000)
committerauras <auras@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 17 Feb 2012 13:40:29 +0000 (13:40 +0000)
MFT/AliMuonForwardTrackFinder.cxx
MFT/AliMuonForwardTrackFinder.h

index 10630841c5ea4f02b8f9502a8160c38424739cf9..43c6565b7d123602b1629d705717dbaf19acb2fe 100644 (file)
@@ -1424,7 +1424,7 @@ void AliMuonForwardTrackFinder::PrintParticleHistory() {
 
 //===========================================================================================================================================
 
-Bool_t AliMuonForwardTrackFinder::IsMother(Char_t *nameMother) {
+Bool_t AliMuonForwardTrackFinder::IsMother(const Char_t *nameMother) {
   
   Bool_t result = kFALSE;
   
index 5dc1f20cfdeec4050352870fcd87210cb179c421..f7e7961418137ed4225e98be815d31270a31dda6 100644 (file)
@@ -128,7 +128,7 @@ public:
 
   Bool_t IsCorrectMatch(AliMFTCluster *cluster);
   void CheckCurrentMuonTrackable();
-  Bool_t IsMother(Char_t *nameMother);
+  Bool_t IsMother(const Char_t *nameMother);
 
   void SetMatchingMode(Int_t matchingMode) { fMatchingMode = matchingMode; }
   void SetMinResearchRadiusAtLastPlane(Double_t minResearchRadius) { fMinResearchRadiusAtLastPlane = minResearchRadius; }