Skip to content

Commit

Permalink
Updated m_world => world_
Browse files Browse the repository at this point in the history
  • Loading branch information
garrett-is-a-swann committed Jul 3, 2024
1 parent c482cfa commit e70edca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/flecs/addons/cpp/mixins/event/builder.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,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 e70edca

Please sign in to comment.