ENTT_OPAQUE_TYPE: to_integer -> to_integral

This commit is contained in:
Michele Caini
2019-12-17 22:45:55 +01:00
parent 388feb7edb
commit d1a6edad8a
7 changed files with 32 additions and 32 deletions

View File

@@ -25,8 +25,8 @@ TEST(Lib, Registry) {
ASSERT_FALSE(registry.empty<velocity>());
registry.view<position>().each([](auto entity, auto &position) {
ASSERT_EQ(position.x, entt::to_integer(entity) + 2);
ASSERT_EQ(position.y, entt::to_integer(entity) + 3);
ASSERT_EQ(position.x, entt::to_integral(entity) + 2);
ASSERT_EQ(position.y, entt::to_integral(entity) + 3);
});
cr_plugin_close(ctx);