Merge pull request #115646 from Ivorforce/list-explicit-copy
Change `List` copy constructor from implicit to explicit.
This commit is contained in:
commit
1e12317895
20 changed files with 29 additions and 32 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue