Parcourir la source

table: default dtor

Michele Caini il y a 2 ans
Parent
commit
9ec4d69b1e
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  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
         : payload{Container{std::move(std::get<Container>(other.payload)), allocator}...} {}
 
+    /*! @brief Default destructor. */
+    ~basic_table() noexcept = default;
+
     /**
      * @brief Move assignment operator.
      * @param other The instance to move from.