mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
Rename empty() to is_empty()
This commit is contained in:
parent
886571e0fc
commit
5b937d493f
289 changed files with 898 additions and 898 deletions
|
|
@ -71,7 +71,7 @@ void InputMap::erase_action(const StringName &p_action) {
|
|||
Array InputMap::_get_actions() {
|
||||
Array ret;
|
||||
List<StringName> actions = get_actions();
|
||||
if (actions.empty()) {
|
||||
if (actions.is_empty()) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
@ -84,7 +84,7 @@ Array InputMap::_get_actions() {
|
|||
|
||||
List<StringName> InputMap::get_actions() const {
|
||||
List<StringName> actions = List<StringName>();
|
||||
if (input_map.empty()) {
|
||||
if (input_map.is_empty()) {
|
||||
return actions;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue