driveworks compile

This commit is contained in:
Francesco Gatti
2017-08-21 09:50:05 -07:00
parent 0aa9de4ce8
commit 5a52de17eb
3 changed files with 19 additions and 10 deletions
+3 -1
View File
@@ -15,7 +15,9 @@ void printCenteredTitle(const char *title, char fill, int dim) {
bool fileExist(const char *fname) {
std::ifstream dataFile (fname, std::ios::in | std::ios::binary);
return (bool) dataFile;
if(!dataFile)
return false;
return true;
}