committed by
GitHub
parent
9c5a427a34
commit
e9384e0c11
@@ -381,8 +381,9 @@ bool readLines(const std::string& filePath, bool stripNewLine, std::function<voi
|
||||
callback(line);
|
||||
}
|
||||
|
||||
bool success = feof(file);
|
||||
fclose(file);
|
||||
return true;
|
||||
return success;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user