Coverity fixed
authormrodrigu <mrodrigu@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 19 Feb 2012 19:04:13 +0000 (19:04 +0000)
committermrodrigu <mrodrigu@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 19 Feb 2012 19:04:13 +0000 (19:04 +0000)
ACORDE/AliACORDEAlign.cxx

index 8b6a64b..bdd9439 100644 (file)
@@ -109,13 +109,15 @@ fDebug = align.fDebug;
 //__________________________________________________________________________
 AliACORDEAlign & AliACORDEAlign::operator =(const AliACORDEAlign &align)
 {
-  //
-  // assignment operator - dummy
 
- //
-  if (&align==this) return *this;
-  new (this) AliACORDEAlign(align);
+//
+  // assignment operator - dummy
+  //
+  if(this!=&align){
+    fDebug=align.fDebug;
+  }
   return (*this);
+
 }
 
 //__________________________________________________________________________