Browse Source

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

Michele Caini 5 năm trước cách đây
mục cha
commit
6cb935982d
1 tập tin đã thay đổi với 0 bổ sung3 xóa
  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>>;
     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>
     template<typename Value>
     struct storage_iterator final {
     struct storage_iterator final {
         using difference_type = typename basic_storage::difference_type;
         using difference_type = typename basic_storage::difference_type;