]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
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 e5c7545f9cdf171bc8c5628207da55bc9788526b..2c20b10fcc2d232b3972ee11017a774287c7afbb 100644 (file)
@@ -136,7 +136,6 @@ AliSplineFit& AliSplineFit::operator=(const AliSplineFit& source){
 
 // use copy constructor (without reassigning memory) to copy values
 
 
 // use copy constructor (without reassigning memory) to copy values
 
-  new (this) AliSplineFit(source);
 
   return *this;
 }
 
   return *this;
 }
index 2a21b04c13a4a5e314359495700be6fd953e32dd..ac089071de44d54b74d05a0c8559d29a583144ea 100644 (file)
@@ -55,6 +55,8 @@ public:
  public:
   Double_t fHelix[9];    //helix parameters
  private:  
  public:
   Double_t fHelix[9];    //helix parameters
  private:  
+  AliHelix &operator=(const AliHelix&helix);
+
   ClassDef(AliHelix,1)    // AliHelix
 };
 
   ClassDef(AliHelix,1)    // AliHelix
 };