|
|
@ -188,8 +188,7 @@ public: |
|
|
|
|
|
|
|
|
#ifdef _WIN32 |
|
|
#ifdef _WIN32 |
|
|
template <typename Path> |
|
|
template <typename Path> |
|
|
[[nodiscard]] void Open(const Path& path, FileAccessMode mode, |
|
|
|
|
|
FileType type = FileType::BinaryFile, |
|
|
|
|
|
|
|
|
void Open(const Path& path, FileAccessMode mode, FileType type = FileType::BinaryFile, |
|
|
FileShareFlag flag = FileShareFlag::ShareReadOnly) { |
|
|
FileShareFlag flag = FileShareFlag::ShareReadOnly) { |
|
|
using ValueType = typename Path::value_type; |
|
|
using ValueType = typename Path::value_type; |
|
|
if constexpr (IsChar<ValueType>) { |
|
|
if constexpr (IsChar<ValueType>) { |
|
|
|