aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/winapi/file.hpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/winapi/file.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/winapi/file.hpp b/include/winapi/file.hpp
index 221047b..fd34783 100644
--- a/include/winapi/file.hpp
+++ b/include/winapi/file.hpp
@@ -17,10 +17,10 @@ class File : private Handle {
public:
explicit File(Handle&& handle) : Handle{std::move(handle)} {}
- static Handle open_for_reading(const std::string&);
- static Handle open_for_reading(const CanonicalPath&);
- static Handle open_for_writing(const std::string&);
- static Handle open_for_writing(const CanonicalPath&);
+ static Handle open_r(const std::string&);
+ static Handle open_r(const CanonicalPath&);
+ static Handle open_w(const std::string&);
+ static Handle open_w(const CanonicalPath&);
using Handle::close;