Browse Source

container: implicit noexcept-ness for dtors

Michele Caini 1 year ago
parent
commit
5bb5f396ed

+ 1 - 1
src/entt/container/dense_map.hpp

@@ -437,7 +437,7 @@ public:
           threshold{other.threshold} {}
 
     /*! @brief Default destructor. */
-    ~dense_map() noexcept = default;
+    ~dense_map() = default;
 
     /**
      * @brief Default copy assignment operator.

+ 1 - 1
src/entt/container/dense_set.hpp

@@ -383,7 +383,7 @@ public:
           threshold{other.threshold} {}
 
     /*! @brief Default destructor. */
-    ~dense_set() noexcept = default;
+    ~dense_set() = default;
 
     /**
      * @brief Default copy assignment operator.

+ 1 - 1
src/entt/container/table.hpp

@@ -238,7 +238,7 @@ public:
         : payload{Container{std::move(std::get<Container>(other.payload)), allocator}...} {}
 
     /*! @brief Default destructor. */
-    ~basic_table() noexcept = default;
+    ~basic_table() = default;
 
     /**
      * @brief Default copy assignment operator, deleted on purpose.