Forgor to add .close to file 💀
This commit is contained in:
@@ -8,6 +8,7 @@ std::string Helpers::ReadFile(std::string Path) {
|
||||
std::ifstream file(Path);
|
||||
std::stringstream contents;
|
||||
contents << file.rdbuf();
|
||||
file.close();
|
||||
return contents.str();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user