Просмотр исходного кода

adjacency_matrix: default destructor

Michele Caini 1 год назад
Родитель
Сommit
387528bdcc
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      src/entt/graph/adjacency_matrix.hpp

+ 3 - 0
src/entt/graph/adjacency_matrix.hpp

@@ -166,6 +166,9 @@ public:
         : matrix{std::move(other.matrix), allocator},
           vert{std::exchange(other.vert, 0u)} {}
 
+    /*! @brief Default destructor. */
+    ~adjacency_matrix() noexcept = default;
+
     /**
      * @brief Default copy assignment operator.
      * @param other The instance to copy from.