]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSQAIntCheckable.cxx
A new CreateFastRecPoints has been made and the old one made compatible.
[u/mrichter/AliRoot.git] / PHOS / AliPHOSQAIntCheckable.cxx
index 1a250b16a49758fe34340582acf9b19fa1dafc35..cc49b77822e6a9ff4594b264dfb887b8102e48cc 100644 (file)
@@ -40,8 +40,7 @@ ClassImp(AliPHOSQAIntCheckable)
   AliPHOSQAIntCheckable::AliPHOSQAIntCheckable(const char * name) : AliPHOSQAVirtualCheckable(name) 
 {
   //ctor initial value is zero
-  fType = new char[1] ; 
-  strcpy(fType,"I") ; 
+  fType  = "I" ; 
   fValue = 0 ; 
 }
 
@@ -50,7 +49,6 @@ ClassImp(AliPHOSQAIntCheckable)
   AliPHOSQAIntCheckable::~AliPHOSQAIntCheckable()
 {
   // dtor
-  delete fType ; 
 }
 
 //____________________________________________________________________________