mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03: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
|
@ -1887,7 +1887,7 @@ void Node::remove_and_skip() {
|
|||
}
|
||||
}
|
||||
|
||||
while (!children.empty()) {
|
||||
while (!children.is_empty()) {
|
||||
Node *c_node = children.front()->get();
|
||||
data.parent->add_child(c_node);
|
||||
c_node->_propagate_replace_owner(nullptr, new_owner);
|
||||
|
@ -2245,7 +2245,7 @@ void Node::_duplicate_signals(const Node *p_original, Node *p_copy) const {
|
|||
|
||||
List<const Node *> process_list;
|
||||
process_list.push_back(this);
|
||||
while (!process_list.empty()) {
|
||||
while (!process_list.is_empty()) {
|
||||
const Node *n = process_list.front()->get();
|
||||
process_list.pop_front();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue