]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FMD/AliFMDCalibGain.cxx
PWGPP-3, PWGPP-4 - Reducing the size of the output containers with points (Correspon...
[u/mrichter/AliRoot.git] / FMD / AliFMDCalibGain.cxx
index 42f14a5efcb34c6dc5a894657930224c07dc6ef5..72ac806bd7f9c7cca6620a4fd0909d971e739def 100644 (file)
@@ -65,6 +65,7 @@ AliFMDCalibGain&
 AliFMDCalibGain::operator=(const AliFMDCalibGain& o)
 {
   // Assignment operator 
+  if (&o == this) return *this; 
   fValue     = o.fValue;
   fThreshold = o.fThreshold;
   return (*this);
@@ -103,6 +104,7 @@ namespace {
     {}
     MakeDead& operator=(const MakeDead& other) 
     { 
+      if (&other == this) return *this; 
       fDead   = other.fDead;
       fMin    = other.fMin;
       fMax    = other.fMax;