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 Sep 19, 2024
1 parent 49dcd63 commit c017b97
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 @@ -463,7 +463,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 c017b97

Please # to comment.