mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 08:23:29 +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
|
@ -114,7 +114,7 @@ void GDScriptFunction::debug_get_stack_member_state(int p_line, List<Pair<String
|
|||
ERR_CONTINUE(!sdmap.has(sd.identifier));
|
||||
|
||||
sdmap[sd.identifier].pos.pop_back();
|
||||
if (sdmap[sd.identifier].pos.empty()) {
|
||||
if (sdmap[sd.identifier].pos.is_empty()) {
|
||||
sdmap.erase(sd.identifier);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue