#include #include namespace psemek::ecs::detail { void query_cache::add(table * table) { auto & entry = tables.emplace_back(); entry.table = table; for (auto const & uuid : component_uuids) entry.column_ids.push_back(*(table->get_component_column(uuid))); } }