meta: meta_factory::type supports named types (the identifier isn't required in this case)

This commit is contained in:
Michele Caini
2019-10-14 14:26:01 +02:00
parent e5a075a329
commit 0e3bdc02ea
4 changed files with 30 additions and 10 deletions

View File

@@ -52,7 +52,7 @@ LIB_EXPORT void a_module_meta_ctx(entt::meta_ctx context) {
}
LIB_EXPORT void a_module_meta_init() {
entt::meta<char>().type("char"_hs).data<'c'>("c"_hs);
entt::meta<char>().type().data<'c'>("c"_hs);
}
LIB_EXPORT void a_module_meta_deinit() {