diff --git a/distr/flecs.h b/distr/flecs.h index 708b49e548..d8f1b7e771 100644 --- a/distr/flecs.h +++ b/distr/flecs.h @@ -29299,7 +29299,7 @@ struct term_builder_i : term_ref_builder_i { /** Set read/write access of term. */ Base& inout(flecs::inout_kind_t inout) { this->assert_term(); - term_->inout = static_cast(inout); + term_->inout = static_cast(inout); return *this; } @@ -29313,7 +29313,7 @@ struct term_builder_i : term_ref_builder_i { */ Base& inout_stage(flecs::inout_kind_t inout) { this->assert_term(); - term_->inout = static_cast(inout); + term_->inout = static_cast(inout); if (term_->oper != EcsNot) { this->src().entity(0); } @@ -29364,7 +29364,7 @@ struct term_builder_i : term_ref_builder_i { /** Set operator of term. */ Base& oper(flecs::oper_kind_t oper) { this->assert_term(); - term_->oper = static_cast(oper); + term_->oper = static_cast(oper); return *this; } diff --git a/include/flecs/addons/cpp/mixins/term/builder_i.hpp b/include/flecs/addons/cpp/mixins/term/builder_i.hpp index be8a333fd3..af6a633b53 100644 --- a/include/flecs/addons/cpp/mixins/term/builder_i.hpp +++ b/include/flecs/addons/cpp/mixins/term/builder_i.hpp @@ -281,7 +281,7 @@ struct term_builder_i : term_ref_builder_i { /** Set read/write access of term. */ Base& inout(flecs::inout_kind_t inout) { this->assert_term(); - term_->inout = static_cast(inout); + term_->inout = static_cast(inout); return *this; } @@ -295,7 +295,7 @@ struct term_builder_i : term_ref_builder_i { */ Base& inout_stage(flecs::inout_kind_t inout) { this->assert_term(); - term_->inout = static_cast(inout); + term_->inout = static_cast(inout); if (term_->oper != EcsNot) { this->src().entity(0); } @@ -346,7 +346,7 @@ struct term_builder_i : term_ref_builder_i { /** Set operator of term. */ Base& oper(flecs::oper_kind_t oper) { this->assert_term(); - term_->oper = static_cast(oper); + term_->oper = static_cast(oper); return *this; }