aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-11-23 08:44:01 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-11-23 08:44:01 +0200
commitc579be859e9974b6f2ded0dc7623d61527bbe44b (patch)
tree56336a0f3d276b2ea62f50fe661d7c21dc8ccab1
parent6ec5f905e6aae62a1a7cc87d1837a3d4b6870ee4 (diff)
Add fdstream_mode::none value
-rw-r--r--libbutl/fdstream.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/libbutl/fdstream.hxx b/libbutl/fdstream.hxx
index 59cf2ff..72634f5 100644
--- a/libbutl/fdstream.hxx
+++ b/libbutl/fdstream.hxx
@@ -279,7 +279,9 @@ namespace butl
binary = 0x02,
skip = 0x04,
blocking = 0x08,
- non_blocking = 0x10
+ non_blocking = 0x10,
+
+ none = 0
};
inline fdstream_mode operator& (fdstream_mode, fdstream_mode);