fix an issue that I/O sockets are not copied by cloning Node/Network
This commit is contained in:
parent
7cd818fff8
commit
5c74c5cc40
@ -145,7 +145,7 @@ class Network final : public nf7::FileBase,
|
||||
items.push_back(std::make_unique<Item>(env, *item));
|
||||
}
|
||||
return std::make_unique<Network>(
|
||||
env, std::move(items), NodeLinkStore(links_));
|
||||
env, std::move(items), NodeLinkStore(links_), Data {mem_.data()});
|
||||
}
|
||||
|
||||
File* PreFind(std::string_view name) const noexcept override;
|
||||
|
Loading…
x
Reference in New Issue
Block a user