There was an error while loading. Please reload this page.
2 parents 79253ab + 6e4c57b commit 03150b3Copy full SHA for 03150b3
1 file changed
src/utilities/core/FilesystemHelpers.cpp
@@ -35,7 +35,7 @@ namespace filesystem {
35
}
36
37
std::string read_as_string(const openstudio::path& t_path) {
38
- openstudio::filesystem::ifstream f(t_path);
+ openstudio::filesystem::ifstream f(t_path, std::ios_base::binary);
39
return read_as_string(f);
40
41
0 commit comments