File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79960,7 +79960,7 @@ int flecs_query_insert_toggle(
7996079960 continue;
7996179961 }
7996279962
79963- ecs_flags64_t field_bit = 1llu << term->field_index;
79963+ const ecs_flags64_t field_bit = 1llu << term->field_index;
7996479964
7996579965 /* Source matches, set flag */
7996679966 if (term->oper == EcsNot) {
@@ -80003,7 +80003,7 @@ int flecs_query_insert_toggle(
8000380003 if (optional_toggles) {
8000480004 ecs_flags64_t optional_fields_processed = 0;
8000580005 for (j = i; j < term_count; j ++) {
80006- uint64_t field_bit = 1ull << terms[j].field_index;
80006+ const uint64_t field_bit = 1ull << terms[j].field_index;
8000780007 if (!(optional_toggles & field_bit)) {
8000880008 continue;
8000980009 }
Original file line number Diff line number Diff line change @@ -770,7 +770,7 @@ int flecs_query_insert_toggle(
770770 continue ;
771771 }
772772
773- ecs_flags64_t field_bit = 1llu << term -> field_index ;
773+ const ecs_flags64_t field_bit = 1llu << term -> field_index ;
774774
775775 /* Source matches, set flag */
776776 if (term -> oper == EcsNot ) {
@@ -813,7 +813,7 @@ int flecs_query_insert_toggle(
813813 if (optional_toggles ) {
814814 ecs_flags64_t optional_fields_processed = 0 ;
815815 for (j = i ; j < term_count ; j ++ ) {
816- uint64_t field_bit = 1ull << terms [j ].field_index ;
816+ const uint64_t field_bit = 1ull << terms [j ].field_index ;
817817 if (!(optional_toggles & field_bit )) {
818818 continue ;
819819 }
You can’t perform that action at this time.
0 commit comments