You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Rename empty() to is_empty()
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user