diff options
Diffstat (limited to 'server/src/util')
| -rw-r--r-- | server/src/util/io.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/util/io.cpp b/server/src/util/io.cpp index 8d74cd4..09dd6ce 100644 --- a/server/src/util/io.cpp +++ b/server/src/util/io.cpp @@ -23,7 +23,7 @@ void io::init(const bool& to_file) { } bool io::read_file(const std::string_view name, std::vector<char>& out) { - std::ifstream file(name.data()); + std::ifstream file(name.data(), std::ios::binary); if (!file.good()) { return false; } |