diff options
| author | Shawn Hoffman <godisgovernment@gmail.com> | 2022-08-19 19:50:36 -0700 |
|---|---|---|
| committer | Shawn Hoffman <godisgovernment@gmail.com> | 2023-01-10 05:17:43 -0800 |
| commit | d51e4e52364d7215a229e961e4f4457d1dfde3ca (patch) | |
| tree | 6f42a2b48d20de1df867743350f4740e68774f93 /Source/Core/Common/StringUtil.cpp | |
| parent | acafb0770713d53a48b3142cb6ef18df52546332 (diff) | |
get rid of HAS_STD_FILESYSTEM
just use std::filesystem
Diffstat (limited to 'Source/Core/Common/StringUtil.cpp')
| -rw-r--r-- | Source/Core/Common/StringUtil.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/Core/Common/StringUtil.cpp b/Source/Core/Common/StringUtil.cpp index 849e83815c..c8d862e424 100644 --- a/Source/Core/Common/StringUtil.cpp +++ b/Source/Core/Common/StringUtil.cpp @@ -645,7 +645,6 @@ std::u16string UTF8ToUTF16(std::string_view input) return converter.from_bytes(input.data(), input.data() + input.size()); } -#ifdef HAS_STD_FILESYSTEM // This is a replacement for path::u8path, which is deprecated starting with C++20. std::filesystem::path StringToPath(std::string_view path) { @@ -666,7 +665,6 @@ std::string PathToString(const std::filesystem::path& path) return path.native(); #endif } -#endif #ifdef _WIN32 std::vector<std::string> CommandLineToUtf8Argv(const wchar_t* command_line) |
