]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG2/RESONANCES/AliRsnInputHandler.cxx
Fix for coverity
[u/mrichter/AliRoot.git] / PWG2 / RESONANCES / AliRsnInputHandler.cxx
index 7d729c8063de8ca7488a04fc3ee1cb7637c9bcbe..73855a7a087cc3064f7b018f15c23a2210b47f87 100644 (file)
@@ -53,6 +53,8 @@ AliRsnInputHandler& AliRsnInputHandler::operator=(const AliRsnInputHandler &copy
 //
 // Default constructor.
 //
+  if (this == &copy)
+    return *this;
    fRsnEventCuts = copy.fRsnEventCuts;
    return *this;
 }