mirror of
https://github.com/BlackMATov/ecs.hpp.git
synced 2025-12-15 11:53:51 +07:00
remove nothrow destructible component checking
This commit is contained in:
@@ -310,7 +310,6 @@ namespace ecs_hpp
|
|||||||
noexcept(std::declval<Indexer>()(std::declval<T>())),
|
noexcept(std::declval<Indexer>()(std::declval<T>())),
|
||||||
"unsupported sparse_set indexer");
|
"unsupported sparse_set indexer");
|
||||||
static_assert(
|
static_assert(
|
||||||
std::is_nothrow_destructible<T>::value &&
|
|
||||||
std::is_nothrow_move_assignable<T>::value &&
|
std::is_nothrow_move_assignable<T>::value &&
|
||||||
noexcept(std::declval<T>() == std::declval<T>()),
|
noexcept(std::declval<T>() == std::declval<T>()),
|
||||||
"unsupported sparse_set value type");
|
"unsupported sparse_set value type");
|
||||||
@@ -467,7 +466,6 @@ namespace ecs_hpp
|
|||||||
using const_iterator = typename std::vector<K>::const_iterator;
|
using const_iterator = typename std::vector<K>::const_iterator;
|
||||||
public:
|
public:
|
||||||
static_assert(
|
static_assert(
|
||||||
std::is_nothrow_destructible<T>::value &&
|
|
||||||
std::is_nothrow_move_assignable<T>::value,
|
std::is_nothrow_move_assignable<T>::value,
|
||||||
"unsupported sparse_map value type");
|
"unsupported sparse_map value type");
|
||||||
public:
|
public:
|
||||||
|
|||||||
Reference in New Issue
Block a user