diff --git a/Eigen/src/Core/Matrix.h b/Eigen/src/Core/Matrix.h index 22d8bd8a7..698c8fc5c 100644 --- a/Eigen/src/Core/Matrix.h +++ b/Eigen/src/Core/Matrix.h @@ -117,17 +117,17 @@ struct ei_traits > }; }; -template +template struct ei_matrix_with_aligned_operator_new : WithAlignedOperatorNew {}; -template -struct ei_matrix_with_aligned_operator_new {}; +template +struct ei_matrix_with_aligned_operator_new {}; template class Matrix : public MatrixBase > - , public ei_matrix_with_aligned_operator_new<_Options> + , public ei_matrix_with_aligned_operator_new<_Scalar, _Rows, _Cols, _Options> { public: EIGEN_GENERIC_PUBLIC_INTERFACE(Matrix)