aboutsummaryrefslogtreecommitdiff
path: root/libbutl/lz4-stream.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbutl/lz4-stream.hxx')
-rw-r--r--libbutl/lz4-stream.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/libbutl/lz4-stream.hxx b/libbutl/lz4-stream.hxx
index 5a0e3ba..b11c0a2 100644
--- a/libbutl/lz4-stream.hxx
+++ b/libbutl/lz4-stream.hxx
@@ -12,7 +12,7 @@
#include <cassert>
#include <libbutl/lz4.hxx>
-#include <libbutl/optional.mxx>
+#include <libbutl/optional.hxx>
#include <libbutl/bufstreambuf.hxx>
#include <libbutl/export.hxx>
@@ -75,7 +75,7 @@ namespace butl
//
// try
// {
- // ifdstream ifs (..., ifdstream::badbit);
+ // ifdstream ifs (..., fdopen_mode::binary, ifdstream::badbit);
// lz4::istream izs (ifs, true /* end */);
// ... // Read from izs.
// }
@@ -206,7 +206,7 @@ namespace butl
//
// try
// {
- // ofdstream ofs (...);
+ // ofdstream ofs (..., fdopen_mode::binary);
// lz4::ostream ozs (ofs, 9, 4 /* 64KB */, nullopt /* content_size */);
//
// ... // Write to ozs.