mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-15 14:51:39 +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
|
@ -55,7 +55,7 @@ jobjectArray VectorToJStringArray(JNIEnv* env, const std::vector<std::string>& v
|
|||
|
||||
bool IsPathAndroidContent(const std::string& uri)
|
||||
{
|
||||
return StringBeginsWith(uri, "content://");
|
||||
return uri.starts_with("content://");
|
||||
}
|
||||
|
||||
std::string OpenModeToAndroid(std::string mode)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue