diff --git a/userspace/libsinsp/state/table.cpp b/userspace/libsinsp/state/table.cpp index cc938e3bac..e0cf069ced 100644 --- a/userspace/libsinsp/state/table.cpp +++ b/userspace/libsinsp/state/table.cpp @@ -168,6 +168,30 @@ void libsinsp::state::table_accessor::set(sinsp_table_owner* p, libsinsp::state: input.key_type = m_table->key_info().type_id(); } +template void libsinsp::state::table_accessor::set(sinsp_table_owner* p, + libsinsp::state::table* t); +template void libsinsp::state::table_accessor::set(sinsp_table_owner* p, + libsinsp::state::table* t); +template void libsinsp::state::table_accessor::set(sinsp_table_owner* p, + libsinsp::state::table* t); +template void libsinsp::state::table_accessor::set(sinsp_table_owner* p, + libsinsp::state::table* t); +template void libsinsp::state::table_accessor::set(sinsp_table_owner* p, + libsinsp::state::table* t); +template void libsinsp::state::table_accessor::set(sinsp_table_owner* p, + libsinsp::state::table* t); +template void libsinsp::state::table_accessor::set(sinsp_table_owner* p, + libsinsp::state::table* t); +template void libsinsp::state::table_accessor::set(sinsp_table_owner* p, + libsinsp::state::table* t); +template void libsinsp::state::table_accessor::set( + sinsp_table_owner* p, + libsinsp::state::table* t); +template void libsinsp::state::table_accessor::set(sinsp_table_owner* p, + libsinsp::state::table* t); +// Do not instantiate the template for libsinsp::state::base_table* since a table cannot be used +// as a key for another table + void libsinsp::state::table_accessor::unset() { m_owner_plugin = nullptr; m_table = nullptr;