diff options
Diffstat (limited to 'Source/Core/Common/StringUtil.h')
| -rw-r--r-- | Source/Core/Common/StringUtil.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Source/Core/Common/StringUtil.h b/Source/Core/Common/StringUtil.h index 7d964199aa..c635155d5b 100644 --- a/Source/Core/Common/StringUtil.h +++ b/Source/Core/Common/StringUtil.h @@ -201,13 +201,13 @@ std::string PathToFileName(std::string_view path); void StringPopBackIf(std::string* s, char c); size_t StringUTF8CodePointCount(std::string_view str); -std::string CP1252ToUTF8(std::string_view str); -std::string SHIFTJISToUTF8(std::string_view str); -std::string UTF8ToSHIFTJIS(std::string_view str); -std::string WStringToUTF8(std::wstring_view str); +std::string CP1252ToUTF8(std::string_view input); +std::string SHIFTJISToUTF8(std::string_view input); +std::string UTF8ToSHIFTJIS(std::string_view input); +std::string WStringToUTF8(std::wstring_view input); std::string UTF16BEToUTF8(const char16_t* str, size_t max_size); // Stops at \0 -std::string UTF16ToUTF8(std::u16string_view str); -std::u16string UTF8ToUTF16(std::string_view str); +std::string UTF16ToUTF8(std::u16string_view input); +std::u16string UTF8ToUTF16(std::string_view input); #ifdef _WIN32 @@ -311,7 +311,7 @@ std::string GetEscapedHtml(std::string html); void ToLower(std::string* str); void ToUpper(std::string* str); bool CaseInsensitiveEquals(std::string_view a, std::string_view b); -bool CaseInsensitiveContains(std::string_view a, std::string_view b); +bool CaseInsensitiveContains(std::string_view haystack, std::string_view needle); // 'std::less'-like comparison function object type for case-insensitive strings. struct CaseInsensitiveLess |
