Преглед на файлове

storage: removed a couple of old (and wrong) static asserts

Michele Caini преди 4 години
родител
ревизия
6cb935982d
променени са 1 файла, в които са добавени 0 реда и са изтрити 3 реда
  1. 0 3
      src/entt/entity/storage.hpp

+ 0 - 3
src/entt/entity/storage.hpp

@@ -70,9 +70,6 @@ class basic_storage: public basic_sparse_set<Entity, typename std::allocator_tra
 
     using underlying_type = basic_sparse_set<Entity, typename allocator_traits::template rebind_alloc<Entity>>;
 
-    static_assert(alloc_traits::propagate_on_container_move_assignment::value);
-    static_assert(alloc_ptr_traits::propagate_on_container_move_assignment::value);
-
     template<typename Value>
     struct storage_iterator final {
         using difference_type = typename basic_storage::difference_type;