You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Replace size() == 0 with is_empty().
This commit is contained in:
@@ -3298,7 +3298,7 @@ int String::findmk(const Vector<String> &p_keys, int p_from, int *r_key) const {
|
||||
if (p_from < 0) {
|
||||
return -1;
|
||||
}
|
||||
if (p_keys.size() == 0) {
|
||||
if (p_keys.is_empty()) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user