compressed_pair: avoid noexcept specification which cannot be supported

This commit is contained in:
Michele Caini
2022-02-13 18:29:34 +01:00
parent aa275f4b1c
commit e51b1bbb25

View File

@@ -125,7 +125,7 @@ public:
* @brief Move constructor.
* @param other The instance to move from.
*/
constexpr compressed_pair(compressed_pair &&other) ENTT_NOEXCEPT = default;
constexpr compressed_pair(compressed_pair &&other) = default;
/**
* @brief Constructs a pair from its values.
@@ -163,7 +163,7 @@ public:
* @param other The instance to move from.
* @return This compressed pair object.
*/
constexpr compressed_pair &operator=(compressed_pair &&other) ENTT_NOEXCEPT = default;
constexpr compressed_pair &operator=(compressed_pair &&other) = default;
/**
* @brief Returns the first element that a pair stores.