Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Naios committed Sep 9, 2023
1 parent 8f01b1e commit fa04345
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/flecs/addons/cpp/mixins/meta/impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ inline void init(flecs::world& world) {
// specific types.

if (!flecs::is_same<i32_t, iptr_t>() && !flecs::is_same<i64_t, iptr_t>()) {
const entity_t id = flecs::_::cpp_type<iptr_t>::id_explicit(world, nullptr, true, flecs::Iptr);
const entity_t id = flecs::_::cpp_type<iptr_t>::id_explicit(world, nullptr, true, 0, true, nullptr, flecs::Iptr);
(void)id;

ecs_assert(id == flecs::Iptr, ECS_INTERNAL_ERROR, NULL);
Expand All @@ -74,7 +74,7 @@ inline void init(flecs::world& world) {
}

if (!flecs::is_same<u32_t, uptr_t>() && !flecs::is_same<u64_t, uptr_t>()) {
const entity_t id = flecs::_::cpp_type<uptr_t>::id_explicit(world, nullptr, true, flecs::Uptr);
const entity_t id = flecs::_::cpp_type<uptr_t>::id_explicit(world, nullptr, true, 0, true, nullptr, flecs::Uptr);
(void)id;

ecs_assert(id == flecs::Uptr, ECS_INTERNAL_ERROR, NULL);
Expand Down

0 comments on commit fa04345

Please sign in to comment.