test: avoid using ENTT_NOEXCEPT in the test suite

This commit is contained in:
Michele Caini
2022-05-05 09:24:02 +02:00
parent 74c498cf15
commit 584cfdf64c
7 changed files with 17 additions and 17 deletions

View File

@@ -8,13 +8,13 @@ struct entity_id {
using entity_type = std::uint32_t;
static constexpr auto null = entt::null;
constexpr entity_id(entity_type value = null) ENTT_NOEXCEPT
constexpr entity_id(entity_type value = null) noexcept
: entt{value} {}
constexpr entity_id(const entity_id &other) ENTT_NOEXCEPT
constexpr entity_id(const entity_id &other) noexcept
: entt{other.entt} {}
constexpr operator entity_type() const ENTT_NOEXCEPT {
constexpr operator entity_type() const noexcept {
return entt;
}