Browse Source

compressed_pair: avoid noexcept specification which cannot be supported

Michele Caini 4 years ago
parent
commit
e51b1bbb25
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/entt/core/compressed_pair.hpp

+ 2 - 2
src/entt/core/compressed_pair.hpp

@@ -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.