diff --git a/Eigen/src/Core/Matrix.h b/Eigen/src/Core/Matrix.h index 290247978..c2680b71c 100644 --- a/Eigen/src/Core/Matrix.h +++ b/Eigen/src/Core/Matrix.h @@ -536,9 +536,6 @@ class Matrix other.evalTo(*this); } - /** Destructor */ - inline ~Matrix() {} - /** \sa MatrixBase::operator=(const AnyMatrixBase&) */ template EIGEN_STRONG_INLINE Matrix& operator=(const AnyMatrixBase &other) diff --git a/Eigen/src/Core/MatrixStorage.h b/Eigen/src/Core/MatrixStorage.h index 73b17e63e..8bfa728b6 100644 --- a/Eigen/src/Core/MatrixStorage.h +++ b/Eigen/src/Core/MatrixStorage.h @@ -117,7 +117,6 @@ template class ei_matrix_storage class ei_matrix_storage< inline ei_matrix_storage(ei_constructor_without_unaligned_array_assert) : m_data(ei_constructor_without_unaligned_array_assert()), m_rows(0) {} inline ei_matrix_storage(int, int rows, int) : m_rows(rows) {} - inline ~ei_matrix_storage() {} inline void swap(ei_matrix_storage& other) { std::swap(m_data,other.m_data); std::swap(m_rows,other.m_rows); } inline int rows(void) const {return m_rows;} inline int cols(void) const {return _Cols;} @@ -163,7 +161,6 @@ template class ei_matrix_storage< inline ei_matrix_storage(ei_constructor_without_unaligned_array_assert) : m_data(ei_constructor_without_unaligned_array_assert()), m_cols(0) {} inline ei_matrix_storage(int, int, int cols) : m_cols(cols) {} - inline ~ei_matrix_storage() {} inline void swap(ei_matrix_storage& other) { std::swap(m_data,other.m_data); std::swap(m_cols,other.m_cols); } inline int rows(void) const {return _Rows;} inline int cols(void) const {return m_cols;}