Browse Source

table: default dtor

Michele Caini 1 year ago
parent
commit
9ec4d69b1e
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/entt/container/table.hpp

+ 3 - 0
src/entt/container/table.hpp

@@ -234,6 +234,9 @@ public:
     basic_table(basic_table &&other, const Allocator &allocator) noexcept
     basic_table(basic_table &&other, const Allocator &allocator) noexcept
         : payload{Container{std::move(std::get<Container>(other.payload)), allocator}...} {}
         : payload{Container{std::move(std::get<Container>(other.payload)), allocator}...} {}
 
 
+    /*! @brief Default destructor. */
+    ~basic_table() noexcept = default;
+
     /**
     /**
      * @brief Move assignment operator.
      * @brief Move assignment operator.
      * @param other The instance to move from.
      * @param other The instance to move from.