]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG2/RESONANCES/AliRsnValueDaughter.cxx
Fix for coverity
[u/mrichter/AliRoot.git] / PWG2 / RESONANCES / AliRsnValueDaughter.cxx
index 270000391c6d743a86f36f11aca88bd3257c7b99..e311ef81d7cfc34cd74ca1556d5eb3e36c27b05a 100644 (file)
@@ -86,8 +86,10 @@ AliRsnValueDaughter& AliRsnValueDaughter::operator=(const AliRsnValueDaughter& c
 //
 
    AliRsnValue::operator=(copy);
+   if (this == &copy)
+     return *this;
    fType = copy.fType;
-
+   
    return (*this);
 }