In AliMUONPairLight, AliMUONTrackLight:
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 24 Nov 2011 15:58:04 +0000 (15:58 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 24 Nov 2011 15:58:04 +0000 (15:58 +0000)
Fixed previously committed assignment operator
(return *this was mission)

MUON/AliMUONPairLight.cxx
MUON/AliMUONTrackLight.cxx

index eb4c6d6..6cbdb3c 100644 (file)
@@ -97,6 +97,8 @@ AliMUONPairLight& AliMUONPairLight::operator=(const AliMUONPairLight& dimuCopy)
   fIsCorrelated = dimuCopy.fIsCorrelated; 
   fCauseOfCorrelation  = dimuCopy.fCauseOfCorrelation;
   fIsFeedDown = dimuCopy.fIsFeedDown;
+
+  return *this;
 }
 
 //====================================
index a452537..1dd51a4 100644 (file)
@@ -176,6 +176,8 @@ AliMUONTrackLight& AliMUONTrackLight::operator=(const AliMUONTrackLight& muonCop
     fQuarkPDGCode[i] = muonCopy.fQuarkPDGCode[i]; 
     fQuarkPythiaLine[i] = muonCopy.fQuarkPythiaLine[i]; 
   }
+
+  return *this;
 }    
 
 //============================================