Skip to content

Commit

Permalink
Forgot to bake
Browse files Browse the repository at this point in the history
  • Loading branch information
garrett-is-a-swann authored and SanderMertens committed Jul 7, 2024
1 parent 8bff937 commit fce692b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions flecs.h
Original file line number Diff line number Diff line change
Expand Up @@ -17868,10 +17868,9 @@ struct event_builder_base {
return id(ecs_pair(first, second));
}


template <typename Enum, if_t<is_enum<Enum>::value> = 0>
Base& id(Enum value) {
const auto& et = enum_type<Enum>(this->m_world);
const auto& et = enum_type<Enum>(this->world_);
flecs::entity_t target = et.entity(value);
return id(et.entity(), target);
}
Expand Down

0 comments on commit fce692b

Please sign in to comment.