Coverity (Marian)
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 23 Jan 2012 13:51:25 +0000 (13:51 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 23 Jan 2012 13:51:25 +0000 (13:51 +0000)
STEER/CDB/AliSplineFit.cxx
STEER/STEER/AliHelix.h

index e5c7545..2c20b10 100644 (file)
@@ -136,7 +136,6 @@ AliSplineFit& AliSplineFit::operator=(const AliSplineFit& source){
 
 // use copy constructor (without reassigning memory) to copy values
 
-  new (this) AliSplineFit(source);
 
   return *this;
 }
index 2a21b04..ac08907 100644 (file)
@@ -55,6 +55,8 @@ public:
  public:
   Double_t fHelix[9];    //helix parameters
  private:  
+  AliHelix &operator=(const AliHelix&helix);
+
   ClassDef(AliHelix,1)    // AliHelix
 };