Warning fixed
authorgvolpe <gvolpe@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 4 Mar 2010 19:53:34 +0000 (19:53 +0000)
committergvolpe <gvolpe@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 4 Mar 2010 19:53:34 +0000 (19:53 +0000)
HMPID/AliHMPIDQAChecker.cxx
HMPID/AliHMPIDQAChecker.h

index 9b716c0..2486562 100644 (file)
@@ -76,6 +76,19 @@ fQARefRec(NULL)
 }
 
 //_________________________________________________________________
+AliHMPIDQAChecker& AliHMPIDQAChecker::operator=(const AliHMPIDQAChecker& qac) 
+{
+  //
+  // Assignment operator
+  //
+  if (this!=&qac) {
+    AliQACheckerBase::operator=(qac) ;
+    fNoReference = qac.fNoReference  ;
+    fQARefRec    = qac.fQARefRec     ;    
+  }
+  return *this;
+}   
+//_______________________________________________________________________________________________
 AliHMPIDQAChecker::~AliHMPIDQAChecker() 
 {
   fQARefRec->Delete() ; 
index 504c261..9b1fb36 100644 (file)
@@ -26,8 +26,9 @@ class TObjArray ;
 class AliHMPIDQAChecker: public AliQACheckerBase {
 
 public:
-  AliHMPIDQAChecker() ;          // ctor
-  AliHMPIDQAChecker(const AliHMPIDQAChecker& qac) ; // cpy ctor   
+  AliHMPIDQAChecker() ;           // ctor
+  AliHMPIDQAChecker(const AliHMPIDQAChecker& qac) ; // cpy ctor 
+  AliHMPIDQAChecker &operator=(const AliHMPIDQAChecker& qac);   //assignment operator
   virtual ~AliHMPIDQAChecker() ; // dtor
   
   virtual Double_t * Check(AliQAv1::ALITASK_t index, TObjArray ** list, const AliDetectorRecoParam * recoParam) ;