aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/hash_quickly.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/hash_quickly.cpp')
-rw-r--r--doc/examples/hash_quickly.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/hash_quickly.cpp b/doc/examples/hash_quickly.cpp
index bf6fe1d82..005a6d719 100644
--- a/doc/examples/hash_quickly.cpp
+++ b/doc/examples/hash_quickly.cpp
@@ -83,7 +83,7 @@ int main(int argc, char* argv[])
for(size_t i = 1; argv[i]; ++i)
{
- std::ifstream in(argv[i]);
+ std::ifstream in(argv[i], std::ios::binary);
if(!in)
continue;