client multi is updated with argument c++11 threading, need to update sls detector with arguments and removing imod

This commit is contained in:
2018-10-04 17:24:37 +02:00
parent 1c70f9ec65
commit ab8b07f2ee
5 changed files with 1220 additions and 1527 deletions

View File

@ -110,7 +110,7 @@ int readDataFile(std::string fname, short int *data, int nch) {
iline=readDataFile(infile, data, nch, 0);
infile.close();
} else {
std::cout<< "Could not read file " << fname << std::endl;
FILE_LOG(logERROR) << "Could not read file " << fname;
return -1;
}
return iline;
@ -137,7 +137,7 @@ int writeDataFile(std::string fname,int nch, short int *data) {
outfile.close();
return slsReceiverDefs::OK;
} else {
std::cout<< "Could not open file " << fname << "for writing"<< std::endl;
FILE_LOG(logERROR) << "Could not open file " << fname << "for writing";
return slsReceiverDefs::FAIL;
}
}