Skip to content

Commit

Permalink
fix: accidentally comparing against optional
Browse files Browse the repository at this point in the history
  • Loading branch information
zaucy committed Oct 5, 2024
1 parent 5f5d673 commit fb1d8e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp_systems_header_codegen/cpp_systems_header_codegen.cc
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ struct context_body_details {
details.optional_components.emplace(comp_id);
}

if((cap & ECSACT_SYS_CAP_OPTIONAL) == ECSACT_SYS_CAP_STREAM_TOGGLE) {
if((cap & ECSACT_SYS_CAP_STREAM_TOGGLE) == ECSACT_SYS_CAP_STREAM_TOGGLE) {
details.stream_components.emplace(comp_id);
}
}
Expand Down

0 comments on commit fb1d8e2

Please # to comment.