You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Rename empty() to is_empty()
This commit is contained in:
@@ -912,11 +912,11 @@ bool Variant::is_zero() const {
|
||||
|
||||
} break;
|
||||
case DICTIONARY: {
|
||||
return reinterpret_cast<const Dictionary *>(_data._mem)->empty();
|
||||
return reinterpret_cast<const Dictionary *>(_data._mem)->is_empty();
|
||||
|
||||
} break;
|
||||
case ARRAY: {
|
||||
return reinterpret_cast<const Array *>(_data._mem)->empty();
|
||||
return reinterpret_cast<const Array *>(_data._mem)->is_empty();
|
||||
|
||||
} break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user