From d368c989e7dce342626c1a0afd9258eb149d5299 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 16 May 2023 14:21:19 -0400 Subject: StringUtil: Move GetEscapedHtml() into Common namespace --- Source/Core/Common/StringUtil.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/Common/StringUtil.cpp') diff --git a/Source/Core/Common/StringUtil.cpp b/Source/Core/Common/StringUtil.cpp index c041164f22..3083cc01f0 100644 --- a/Source/Core/Common/StringUtil.cpp +++ b/Source/Core/Common/StringUtil.cpp @@ -675,6 +675,8 @@ std::vector CommandLineToUtf8Argv(const wchar_t* command_line) } #endif +namespace Common +{ std::string GetEscapedHtml(std::string html) { static constexpr std::array, 5> replacements{{ @@ -693,8 +695,6 @@ std::string GetEscapedHtml(std::string html) return html; } -namespace Common -{ void ToLower(std::string* str) { std::transform(str->begin(), str->end(), str->begin(), [](char c) { return Common::ToLower(c); }); -- cgit v1.2.3