Fixes for coverity checks.
[u/mrichter/AliRoot.git] / PWG2 / FORWARD / analysis2 / AliForwardMultiplicityTask.cxx
index ca934d6..b7508e6 100644 (file)
@@ -108,6 +108,7 @@ AliForwardMultiplicityTask::operator=(const AliForwardMultiplicityTask& o)
   // Return:
   //    Reference to this object 
   //
+  if (&o == this) return *this;
   AliForwardMultiplicityBase::operator=(o);
 
   fHData             = o.fHData;