Coverity 17737 solved by non-implemented private copy constructor and assignment...
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 24 Feb 2012 10:41:02 +0000 (10:41 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 24 Feb 2012 10:41:02 +0000 (10:41 +0000)
HLT/PHOS/AliHLTPHOSSanityInspector.h

index 50d5448..7077782 100644 (file)
@@ -52,22 +52,6 @@ public:
   
   /* Destructor */
   virtual ~AliHLTPHOSSanityInspector();
-
-  /** Copy constructor */  
-  AliHLTPHOSSanityInspector(const AliHLTPHOSSanityInspector &) : 
-    //    AliHLTPHOSBase(),
-    fMaxDifference(0)
-  {
-    //Copy constructor not implemented
-  }
-  
-  /** Assignment */
-  AliHLTPHOSSanityInspector & operator = (const AliHLTPHOSSanityInspector)
-  {
-    //Assignment
-    return *this; 
-  }
-  
   
   //  Int_t CheckInsanity(UInt_t* data, Int_t nSamples);
   
@@ -86,6 +70,10 @@ public:
   void SetMaxDifference(Int_t maxDiff) { fMaxDifference = maxDiff; }
     
 private:
+  /** Copy constructor */  
+  AliHLTPHOSSanityInspector(const AliHLTPHOSSanityInspector &);
+  /** Assignment */
+  AliHLTPHOSSanityInspector & operator = (const AliHLTPHOSSanityInspector);
 
   /** The max difference between 2 samples */
   Int_t fMaxDifference;           //COMMENT