diff --git a/Eigen/src/Core/CoreEvaluators.h b/Eigen/src/Core/CoreEvaluators.h index 2314be719..c060913fb 100644 --- a/Eigen/src/Core/CoreEvaluators.h +++ b/Eigen/src/Core/CoreEvaluators.h @@ -440,7 +440,7 @@ struct evaluator_impl > } protected: - const UnaryOp& m_unaryOp; + const UnaryOp m_unaryOp; typename evaluator::type m_argImpl; }; @@ -782,7 +782,7 @@ struct evaluator_impl > } protected: - const XprType& m_expr; + const XprType m_expr; }; @@ -1148,7 +1148,7 @@ struct evaluator_impl > protected: typename evaluator::type m_argImpl; - const BinaryOp& m_functor; + const BinaryOp m_functor; };