]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/TPCLib/AliHLTTPCVertex.h
minor coverity defect: added protection for self-assignment
[u/mrichter/AliRoot.git] / HLT / TPCLib / AliHLTTPCVertex.h
index 7468bb9875bfb184c739480357778b25c61baf80..f57c0f7957bd51ca3294cd771cdd61b7f5105724 100644 (file)
@@ -1,4 +1,5 @@
 // @(#) $Id$
+// Original: AliHLTVertex.h,v 1.4 2004/07/02 11:41:18 loizides 
 
 #ifndef ALIHLTTPCVERTEX_H
 #define ALIHLTTPCVERTEX_H
@@ -33,8 +34,8 @@ class AliHLTTPCVertex {
     void SetXYWeight(Double_t f) {fMWxy = f;}
 
   private:
-    AliHLTTPCVertex(const AliHLTTPCVertex&){;}
-    AliHLTTPCVertex& operator=(const AliHLTTPCVertex&){return *this;}
+    AliHLTTPCVertex(const AliHLTTPCVertex&);
+    AliHLTTPCVertex& operator=(const AliHLTTPCVertex&);
 
     Double_t fX;   //x 
     Double_t fY;   //y