fix(shell/lean.cpp): use binary mode to open cache file
This commit is contained in:
parent
a3e43c2173
commit
5b9b814fd1
1 changed files with 1 additions and 1 deletions
|
@ -296,7 +296,7 @@ int main(int argc, char ** argv) {
|
|||
definition_cache * cache_ptr = nullptr;
|
||||
if (use_cache) {
|
||||
cache_ptr = &cache;
|
||||
std::ifstream in(cache_name);
|
||||
std::ifstream in(cache_name, std::ifstream::binary);
|
||||
if (!in.bad() && !in.fail())
|
||||
cache.load(in);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue