diff --git a/src/Core/Eval.h b/src/Core/Eval.h index 48787476a..b90018e05 100644 --- a/src/Core/Eval.h +++ b/src/Core/Eval.h @@ -26,10 +26,10 @@ #ifndef EIGEN_EVAL_H #define EIGEN_EVAL_H -template class Eval - : public Matrix< typename Expression::Scalar, - Expression::RowsAtCompileTime, - Expression::ColsAtCompileTime > +template class Eval : NoOperatorEquals, + public Matrix< typename Expression::Scalar, + Expression::RowsAtCompileTime, + Expression::ColsAtCompileTime > { public: typedef typename Expression::Scalar Scalar; @@ -37,8 +37,6 @@ template class Eval typedef Expression Base; friend class MatrixBase; - EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Eval) - Eval(const Expression& expression) : MatrixType(expression) {} };