fix the StreamMode enum

master
Daniel Kolesa 2016-03-26 17:26:37 +00:00
parent ce42683c99
commit 59551e0aee
1 changed files with 2 additions and 3 deletions

View File

@ -16,13 +16,12 @@
namespace ostd {
enum class StreamMode {
read, write, append,
update = 1 << 2
read = 0, write, append, read_u, write_u, append_u
};
namespace detail {
static const char *filemodes[] = {
"rb", "wb", "ab", nullptr, "rb+", "wb+", "ab+"
"rb", "wb", "ab", "rb+", "wb+", "ab+"
};
}