Kaynağa Gözat

increase code coverage with minimum effort

Michele Caini 7 yıl önce
ebeveyn
işleme
6a09bf2c54
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  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/entt_traits.hpp>
 #include <entt/entity/registry.hpp>
 #include <entt/entity/registry.hpp>
 
 
+ENTT_SHARED_TYPE(int)
+
 struct listener {
 struct listener {
     template<typename Component>
     template<typename Component>
     void incr(entt::registry<> &registry, entt::registry<>::entity_type entity) {
     void incr(entt::registry<> &registry, entt::registry<>::entity_type entity) {