From 7c083a381f0773046a7f8de203718a5870c4073f Mon Sep 17 00:00:00 2001 From: BlackMATov Date: Tue, 20 Aug 2019 08:45:40 +0700 Subject: [PATCH] remove nothrow destructible component checking --- headers/ecs.hpp/ecs.hpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/headers/ecs.hpp/ecs.hpp b/headers/ecs.hpp/ecs.hpp index faa1969..3d0c728 100644 --- a/headers/ecs.hpp/ecs.hpp +++ b/headers/ecs.hpp/ecs.hpp @@ -310,7 +310,6 @@ namespace ecs_hpp noexcept(std::declval()(std::declval())), "unsupported sparse_set indexer"); static_assert( - std::is_nothrow_destructible::value && std::is_nothrow_move_assignable::value && noexcept(std::declval() == std::declval()), "unsupported sparse_set value type"); @@ -467,7 +466,6 @@ namespace ecs_hpp using const_iterator = typename std::vector::const_iterator; public: static_assert( - std::is_nothrow_destructible::value && std::is_nothrow_move_assignable::value, "unsupported sparse_map value type"); public: