mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Common: Replace StringBeginsWith/StringEndsWith with std equivalents
Obsoletes these functions in favor of the standard member functions added in C++20.
This commit is contained in:
parent
ba6ee9d7ba
commit
e5b91f00b0
21 changed files with 57 additions and 97 deletions
|
@ -169,8 +169,6 @@ std::string WithUnifiedPathSeparators(std::string path);
|
|||
// This requires forward slashes to be used for the path separators, even on Windows.
|
||||
std::string PathToFileName(std::string_view path);
|
||||
|
||||
bool StringBeginsWith(std::string_view str, std::string_view begin);
|
||||
bool StringEndsWith(std::string_view str, std::string_view end);
|
||||
void StringPopBackIf(std::string* s, char c);
|
||||
size_t StringUTF8CodePointCount(const std::string& str);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue