Replace "ReadFileToString" with a few semantically clearer wrappers.

This commit is contained in:
Henrik Rydgård committed 2024-01-25 09:55:54 +01:00
1 parent f0af76ec40
commit 1f129b6dca
15 files changed
+56 -41

No files matched your search

+1 -1
View File
@@ -517,7 +517,7 @@ bool IniFile::Load(const Path &path)
// Open file
std::string data;
if (!File::ReadFileToString(true, path, data)) {
if (!File::ReadTextFileToString(path, &data)) {
return false;
}
std::stringstream sstream(data);