Merge pull request #115646 from Ivorforce/list-explicit-copy

Change `List` copy constructor from implicit to explicit.
This commit is contained in:
Thaddeus Crews
2026-02-16 15:02:34 -06:00
20 changed files with 29 additions and 32 deletions
+1 -1
View File
@@ -1945,7 +1945,7 @@ int EditorNode::get_resource_count(Ref<Resource> p_res) {
List<Node *> EditorNode::get_resource_node_list(Ref<Resource> p_res) {
List<Node *> *L = resource_count.getptr(p_res);
return L == nullptr ? List<Node *>() : *L;
return L == nullptr ? List<Node *>() : List<Node *>(*L);
}
void EditorNode::update_node_reference(const Variant &p_value, Node *p_node, bool p_remove) {