Ver Fonte

increase code coverage with minimum effort

Michele Caini há 7 anos atrás
pai
commit
6a09bf2c54
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      test/entt/entity/registry.cpp

+ 2 - 0
test/entt/entity/registry.cpp

@@ -8,6 +8,8 @@
 #include <entt/entity/entt_traits.hpp>
 #include <entt/entity/registry.hpp>
 
+ENTT_SHARED_TYPE(int)
+
 struct listener {
     template<typename Component>
     void incr(entt::registry<> &registry, entt::registry<>::entity_type entity) {