Retriving InOut type from term argument type
@@ -61,6 +61,7 @@ struct filter_builder_i : term_builder_i<Base> {
Base& term() {
this->term();
*this->m_term = flecs::term(this->world_v()).id<T>().move();
+ this->m_term->oper = static_cast<ecs_oper_kind_t>(this->template type_to_inout<T>());
return *this;
}
