aboutsummaryrefslogtreecommitdiff
path: root/include/cru/common/io
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-05-10 11:02:56 +0800
committercrupest <crupest@outlook.com>2022-05-10 11:02:56 +0800
commit58e37eee64b13df9cf24cdfc97906e19b2898869 (patch)
tree64caca951bb5996637238bc6931dceb548da0213 /include/cru/common/io
parent8708a3d261c77c1728b770b846d1ecf25d6a8629 (diff)
downloadcru-58e37eee64b13df9cf24cdfc97906e19b2898869.tar.gz
cru-58e37eee64b13df9cf24cdfc97906e19b2898869.tar.bz2
cru-58e37eee64b13df9cf24cdfc97906e19b2898869.zip
...
Diffstat (limited to 'include/cru/common/io')
-rw-r--r--include/cru/common/io/OpenFileFlag.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cru/common/io/OpenFileFlag.h b/include/cru/common/io/OpenFileFlag.h
index b0bceddc..bfbdd38a 100644
--- a/include/cru/common/io/OpenFileFlag.h
+++ b/include/cru/common/io/OpenFileFlag.h
@@ -13,6 +13,6 @@ struct OpenFileFlags {
static constexpr OpenFileFlag Write{0x2};
static constexpr OpenFileFlag Append{0x4};
static constexpr OpenFileFlag Create{0x8};
- static constexpr OpenFileFlag ThrowOnExist{0x10};
+ static constexpr OpenFileFlag Truncate{0x10};
};
} // namespace cru::io