Selaa lähdekoodia

table: default dtor

Michele Caini 2 vuotta sitten
vanhempi
commit
9ec4d69b1e
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  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.