zeekygen: use class IntrusivePtr

This commit is contained in:
Max Kellermann 2020-02-26 20:21:49 +01:00
parent edde591748
commit 95e2d66fb0
8 changed files with 40 additions and 38 deletions

View file

@ -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>