]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliESDFMD.cxx
coding conventions and compilation warnings
[u/mrichter/AliRoot.git] / STEER / AliESDFMD.cxx
index 94392820e00ab101d2a2bb2efd865c1238c198a8..fed4be7bec6a569b8b6c22dcb27b3753e527752a 100755 (executable)
@@ -63,8 +63,11 @@ AliESDFMD&
 AliESDFMD::operator=(const AliESDFMD& other)
 {
   // Default CTOR
-  fMultiplicity = other.fMultiplicity;
-  fEta          = other.fEta;
+  if(this!=&other){
+    TObject::operator=(other);
+    fMultiplicity = other.fMultiplicity;
+    fEta          = other.fEta;
+  }
   return *this;
 }