From 73c5cc279f6252afcefd30b40d67b7bbb5b540de Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 16 Oct 2020 23:45:36 +0300 Subject: File: refactoring --- include/winapi/file.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/winapi/file.hpp') 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; -- cgit v1.2.3