Using default task names. Cleaning the task in the destructor if it was posted
[u/mrichter/AliRoot.git] / PHOS / AliPHOSSDigitizer.h
index 48bfcd3f377bc9314631c17ec05d2cd6e4c2aac1..d74aaa9c9a92198760b31067adf14b077afec0d7 100644 (file)
@@ -28,7 +28,7 @@ public:
   AliPHOSSDigitizer() ;          // ctor
   AliPHOSSDigitizer(const char * alirunFileName, const char * eventFolderName = AliConfig::fgkDefaultEventFolderName) ; 
   AliPHOSSDigitizer(const AliPHOSSDigitizer & sd) ; // cpy ctor
   AliPHOSSDigitizer() ;          // ctor
   AliPHOSSDigitizer(const char * alirunFileName, const char * eventFolderName = AliConfig::fgkDefaultEventFolderName) ; 
   AliPHOSSDigitizer(const AliPHOSSDigitizer & sd) ; // cpy ctor
-  virtual ~AliPHOSSDigitizer() {;} // dtor
+  virtual ~AliPHOSSDigitizer(); // dtor
 
   Float_t        Calibrate(Int_t amp)const {return (amp - fA)/fB ; }
   Int_t          Digitize(Float_t Energy)const { return (Int_t ) ( fA + Energy*fB); }
 
   Float_t        Calibrate(Int_t amp)const {return (amp - fA)/fB ; }
   Int_t          Digitize(Float_t Energy)const { return (Int_t ) ( fA + Energy*fB); }