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