wip: make shared traits usable

This commit is contained in:
Michele Caini
2019-02-17 23:04:02 +01:00
parent 617635a989
commit f7c756d215
4 changed files with 56 additions and 33 deletions

View File

@@ -6,6 +6,9 @@ extern typename entt::registry<>::component_type a_module_char_type();
extern typename entt::registry<>::component_type another_module_int_type();
extern typename entt::registry<>::component_type another_module_char_type();
ENTT_SHARED_TYPE(int);
ENTT_SHARED_TYPE(char);
TEST(Lib, Shared) {
entt::registry<> registry;