diff options
| author | auth12 <[email protected]> | 2020-07-24 10:56:14 -0700 |
|---|---|---|
| committer | auth12 <[email protected]> | 2020-07-24 10:56:14 -0700 |
| commit | e487ffe1671ba807528d4039ef66f8f8f7eeb853 (patch) | |
| tree | c65cc4dd529f8e37f9cca81d38c749dece13a574 /server/src/util/io.cpp | |
| parent | Injection and server changes. (diff) | |
| download | loader-e487ffe1671ba807528d4039ef66f8f8f7eeb853.tar.xz loader-e487ffe1671ba807528d4039ef66f8f8f7eeb853.zip | |
Injection process changes and server improvements.
Diffstat (limited to 'server/src/util/io.cpp')
| -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; } |