]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ESDCheck/AliMUONQATask.cxx
char * to TString
[u/mrichter/AliRoot.git] / ESDCheck / AliMUONQATask.cxx
index fd9b0228f1632e4c05179c0b8b03e761048f132d..13e2b979ac09044c8b9e7e1baceb26f78be9f691 100644 (file)
@@ -32,6 +32,8 @@
 #include <TH1F.h>
 #include <TROOT.h>
 #include <TLorentzVector.h>
+#include <TString.h> 
+
 #include "AliMUONQATask.h" 
 #include "AliESD.h" 
 #include "AliLog.h"
@@ -375,11 +377,11 @@ void AliMUONQATask::Terminate(Option_t *)
     
     AliInfo(Form("!!! All the eps files are in %s.tar.gz !!!", GetName())) ;
  
-   char * report ; 
+   TString report ; 
    if(problem)
       report="Problems found, please check!!!";  
     else 
       report="OK";
     
-    AliInfo(Form("*** %s Summary Report: %s \n",GetName(), report)) ; 
+   AliInfo(Form("*** %s Summary Report: %s \n",GetName(), report.Data())) ; 
 }