mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06: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:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user