Michele Caini 6 лет назад
Родитель
Сommit
71d86c44e0
2 измененных файлов с 0 добавлено и 2 удалено
  1. 0 1
      TODO
  2. 0 1
      src/entt/entity/registry.hpp

+ 0 - 1
TODO

@@ -15,7 +15,6 @@
 * document undocumented parts (entt::overload and a few others)
 * any-of rule for views/groups (eg entity has A and any of B/C/D)
   - get -> all, exclude -> none
-* review prepare after clone and the others have been removed
 
 Next:
 * replace observer class with observer functions

+ 0 - 1
src/entt/entity/registry.hpp

@@ -219,7 +219,6 @@ public:
      */
     template<typename Component>
     void prepare() {
-        ENTT_ASSERT(std::none_of(pools.cbegin(), pools.cend(), [](auto &&pdata) { return pdata.type_id == type_info<Component>::id(); }));
         assure<Component>();
     }