]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fix to pointer name wrt previous commit
authorfbellini <fbellini@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 2 Dec 2011 18:59:11 +0000 (18:59 +0000)
committerfbellini <fbellini@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 2 Dec 2011 18:59:11 +0000 (18:59 +0000)
PWG2/RESONANCES/AliRsnCutManager.cxx
PWG2/RESONANCES/AliRsnEvent.cxx
PWG2/RESONANCES/AliRsnMother.cxx

index 397eafe866bc12df15033f5f79bf30f22a384dd6..d7cf238221190c71711221ea460f99a84d8f6784 100644 (file)
@@ -69,7 +69,7 @@ AliRsnCutManager& AliRsnCutManager::operator=(const AliRsnCutManager &cut)
 //
 // Assign operator
 //
-  if (this == &copy)
+  if (this == &cut)
     return *this;
 
    SetName(cut.GetName());
index a11bb284a10d8da6114d82e0f5919bcf053fb888..50c509da4c4f2855921adc5503ab9cdba9900217 100644 (file)
@@ -71,7 +71,7 @@ AliRsnEvent& AliRsnEvent::operator= (const AliRsnEvent & event)
 // Works in the same way as the copy constructor.
 //
    TObject::operator=(event);
-  if (this == &copy)
+  if (this == &event)
     return *this;
    fRef             = event.fRef;
    fRefMC           = event.fRefMC;
index 3f1467a471a6661b05bd4f4af49ced140db6ab4f..2f4374816a33000b0d7b665104d4443760c16544 100644 (file)
@@ -62,7 +62,7 @@ AliRsnMother& AliRsnMother::operator=(const AliRsnMother &obj)
 // Assignment operator.
 // Does not duplicate pointers.
 //
-  if (this == &copy)
+  if (this == &obj)
     return *this;
   
   fSum = obj.fSum;