mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
StringUtil: Make StringUTF8CodePointCount take string_view
There's nothing really about this that would need to constrain it to only std::string instances.
This commit is contained in:
@ -170,7 +170,7 @@ std::string WithUnifiedPathSeparators(std::string path);
|
||||
std::string PathToFileName(std::string_view path);
|
||||
|
||||
void StringPopBackIf(std::string* s, char c);
|
||||
size_t StringUTF8CodePointCount(const std::string& str);
|
||||
size_t StringUTF8CodePointCount(std::string_view str);
|
||||
|
||||
std::string CP1252ToUTF8(std::string_view str);
|
||||
std::string SHIFTJISToUTF8(std::string_view str);
|
||||
|
Reference in New Issue
Block a user