diff options
| author | Lioncash <mai.iam2048@gmail.com> | 2023-05-16 14:23:21 -0400 |
|---|---|---|
| committer | Lioncash <mai.iam2048@gmail.com> | 2023-05-16 14:23:21 -0400 |
| commit | 954afd81ec62deb0af09ea4721b9edacaf170d1b (patch) | |
| tree | a55534a7e2ccc5a7f0291eaab4855da152fb268b /Source/Core/Common/StringUtil.cpp | |
| parent | d368c989e7dce342626c1a0afd9258eb149d5299 (diff) | |
StringUtil: Move CommandLineToUtf8Argv() into Common namespace
Diffstat (limited to 'Source/Core/Common/StringUtil.cpp')
| -rw-r--r-- | Source/Core/Common/StringUtil.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Common/StringUtil.cpp b/Source/Core/Common/StringUtil.cpp index 3083cc01f0..ba07db1206 100644 --- a/Source/Core/Common/StringUtil.cpp +++ b/Source/Core/Common/StringUtil.cpp @@ -656,6 +656,8 @@ std::string PathToString(const std::filesystem::path& path) #endif } +namespace Common +{ #ifdef _WIN32 std::vector<std::string> CommandLineToUtf8Argv(const wchar_t* command_line) { @@ -675,8 +677,6 @@ std::vector<std::string> CommandLineToUtf8Argv(const wchar_t* command_line) } #endif -namespace Common -{ std::string GetEscapedHtml(std::string html) { static constexpr std::array<std::array<const char*, 2>, 5> replacements{{ |
