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 9b716c0ed18f744731a58fd61e329df6ba656f3d..2486562946df0d4606c58d89a452535a4dd0c4ae 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 504c2615221f8abd602dcc1cacdd7a46bb202486..9b1fb36a83f7dafcf29646b663e0abea6ede30bc 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) ;