]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - OADB/AliOADBPhysicsSelection.cxx
The OADB entry corresponding to the previous commit (54267)
[u/mrichter/AliRoot.git] / OADB / AliOADBPhysicsSelection.cxx
index 870924e3d3d837e0062ea45a4092646886437a3b..6aa685c99c1340cd7178afd63c8853f6108c60b8 100644 (file)
@@ -80,6 +80,7 @@ AliOADBPhysicsSelection::AliOADBPhysicsSelection(const AliOADBPhysicsSelection&
 
 AliOADBPhysicsSelection& AliOADBPhysicsSelection::operator=(const AliOADBPhysicsSelection& other)  {
   //Assignment operator
+  if(&other == this) return *this;
   TNamed::operator=(other);
 
   fCollTrigClasses = other.fCollTrigClasses;