Eval is read-only, don't generate any assignment operator

This commit is contained in:
Benoit Jacob 2007-12-18 12:12:37 +00:00
parent 2c656c51e6
commit a32690a222

View File

@ -26,10 +26,10 @@
#ifndef EIGEN_EVAL_H #ifndef EIGEN_EVAL_H
#define EIGEN_EVAL_H #define EIGEN_EVAL_H
template<typename Expression> class Eval template<typename Expression> class Eval : NoOperatorEquals,
: public Matrix< typename Expression::Scalar, public Matrix< typename Expression::Scalar,
Expression::RowsAtCompileTime, Expression::RowsAtCompileTime,
Expression::ColsAtCompileTime > Expression::ColsAtCompileTime >
{ {
public: public:
typedef typename Expression::Scalar Scalar; typedef typename Expression::Scalar Scalar;
@ -37,8 +37,6 @@ template<typename Expression> class Eval
typedef Expression Base; typedef Expression Base;
friend class MatrixBase<Scalar, Expression>; friend class MatrixBase<Scalar, Expression>;
EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Eval)
Eval(const Expression& expression) : MatrixType(expression) {} Eval(const Expression& expression) : MatrixType(expression) {}
}; };