You cannot pass TString to something expecting const char *
authorhristov <Peter.Hristov@cern.ch>
Tue, 10 Feb 2015 08:17:45 +0000 (09:17 +0100)
committerhristov <Peter.Hristov@cern.ch>
Tue, 10 Feb 2015 08:17:45 +0000 (09:17 +0100)
MONITOR/MONITORzmq/AliOnlineReconstruction.cxx

index afea00d..7cf58fb 100644 (file)
@@ -108,7 +108,7 @@ int AliOnlineReconstruction::RetrieveGRP(TString &gdc)
 
        cdbPath = Form("local://%s",gSystem->pwd());
 
-       gSystem->Exec(Form("rm -fr %s/GRP",cdbPath));
+       gSystem->Exec(Form("rm -fr %s/GRP",cdbPath.Data()));
        cout<<"CDB path for GRP:"<<cdbPath<<endl;
 
        Int_t ret=AliGRPPreprocessor::ReceivePromptRecoParameters(fRun, dbHost.Data(),