Browse Source

compressed_pair: default dtor

Michele Caini 1 year ago
parent
commit
8f7480ebd1
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/entt/core/compressed_pair.hpp

+ 3 - 0
src/entt/core/compressed_pair.hpp

@@ -143,6 +143,9 @@ public:
         : first_base{std::move(args), std::index_sequence_for<Args...>{}},
         : first_base{std::move(args), std::index_sequence_for<Args...>{}},
           second_base{std::move(other), std::index_sequence_for<Other...>{}} {}
           second_base{std::move(other), std::index_sequence_for<Other...>{}} {}
 
 
+    /*! @brief Default destructor. */
+    ~compressed_pair() noexcept = default;
+
     /**
     /**
      * @brief Copy assignment operator.
      * @brief Copy assignment operator.
      * @param other The instance to copy from.
      * @param other The instance to copy from.