summaryrefslogtreecommitdiff
path: root/Source/Android
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2023-01-24 21:51:15 +0100
committerGitHub <noreply@github.com>2023-01-24 21:51:15 +0100
commit4b2c00e239f44e79190cc156e4557ea4aaf64bd2 (patch)
tree09ec8ac31ff935d63aa9c06004802156ac96ebf5 /Source/Android
parentba6ee9d7ba9730e5b2165ff0ee18cbc23762b129 (diff)
parente5b91f00b0688d5cba6870da6d6ad3300097b07f (diff)
Merge pull request #11487 from lioncash/str
Common: Replace StringBeginsWith/StringEndsWith with std equivalents
Diffstat (limited to 'Source/Android')
-rw-r--r--Source/Android/jni/AndroidCommon/AndroidCommon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Android/jni/AndroidCommon/AndroidCommon.cpp b/Source/Android/jni/AndroidCommon/AndroidCommon.cpp
index 53ef9174f4..204c495d5d 100644
--- a/Source/Android/jni/AndroidCommon/AndroidCommon.cpp
+++ b/Source/Android/jni/AndroidCommon/AndroidCommon.cpp
@@ -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)