summaryrefslogtreecommitdiff
path: root/Source/Core/Common/StringUtil.cpp
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2023-01-24 12:18:25 +0100
committerGitHub <noreply@github.com>2023-01-24 12:18:25 +0100
commitcaca662dbff0a2fdebe6231288f9288e54419819 (patch)
tree7b914a5a76e0db3558976f8abde43db91c92d59d /Source/Core/Common/StringUtil.cpp
parentd4d6f3db63f974885c7a96a1bf6dfc65a1640122 (diff)
parentd51e4e52364d7215a229e961e4f4457d1dfde3ca (diff)
Merge pull request #10994 from shuffle2/fs
get rid of HAS_STD_FILESYSTEM
Diffstat (limited to 'Source/Core/Common/StringUtil.cpp')
-rw-r--r--Source/Core/Common/StringUtil.cpp2
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)