Skip to content
Snippets Groups Projects
Commit e614f5e2 authored by Stephen A. Wood's avatar Stephen A. Wood
Browse files

ofstream::open needs char* arg, not string

parent 584c4bbd
No related branches found
No related tags found
No related merge requests found
...@@ -363,7 +363,7 @@ Int_t THcHodoscope::ReadDatabase( const TDatime& date ) ...@@ -363,7 +363,7 @@ Int_t THcHodoscope::ReadDatabase( const TDatime& date )
gHcParms->LoadParmValues((DBRequest*)&list,prefix); gHcParms->LoadParmValues((DBRequest*)&list,prefix);
if(fDumpTOF) { if(fDumpTOF) {
fDumpOut.open(fTOFDumpFile); fDumpOut.open(fTOFDumpFile.c_str());
if(fDumpOut.is_open()) { if(fDumpOut.is_open()) {
fDumpOut << "Hodoscope Time of Flight calibration data" << endl; fDumpOut << "Hodoscope Time of Flight calibration data" << endl;
} else { } else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment