mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
zeekygen: use class IntrusivePtr
This commit is contained in:
parent
edde591748
commit
95e2d66fb0
8 changed files with 40 additions and 38 deletions
|
@ -135,7 +135,7 @@ ComponentManager<T, C>::ComponentManager(const string& arg_module, const string&
|
|||
{
|
||||
auto id = install_ID(local_id.c_str(), module.c_str(), true, true);
|
||||
add_type(id.get(), tag_enum_type, 0);
|
||||
zeekygen_mgr->Identifier(id.get());
|
||||
zeekygen_mgr->Identifier(std::move(id));
|
||||
}
|
||||
|
||||
template <class T, class C>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue