Commit 28f7836e authored by Daniel Hynds's avatar Daniel Hynds
Browse files

replaced string in fstream open

parent 5dcce0f5
......@@ -107,7 +107,7 @@ void Timepix3EventLoader::maskPixels(string detectorID, string trimdacfile){
// Open the mask file
ifstream trimdacs;
trimdacs.open(trimdacfile);
trimdacs.open(trimdacfile.c_str());
// Ignore the file header
string line;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment