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:
Lioncash committed 2023-01-24 14:58:20 -05:00
1 parent ba6ee9d7ba
commit e5b91f00b0
21 files changed
+57 -97

No files matched your search

@@ -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)