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

This commit is contained in:
Michele Caini
2019-10-16 13:43:29 +02:00
parent e5a075a329
commit 0e3bdc02ea
4 changed files with 30 additions and 10 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ LIB_EXPORT void another_module_meta_ctx(entt::meta_ctx context) {
}
LIB_EXPORT void another_module_meta_init() {
entt::meta<int>().type("int"_hs).data<0>("0"_hs);
entt::meta<int>().type().data<0>("0"_hs);
}
LIB_EXPORT void another_module_meta_deinit() {