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
commit 1e12317895
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC
20 changed files with 29 additions and 32 deletions

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) {