workaround MSVC compilation issue (shadow issue)

This commit is contained in:
Gael Guennebaud 2014-09-16 16:23:45 -07:00
parent 125619146b
commit c2f66c65aa

View File

@ -101,11 +101,11 @@ namespace internal {
* *
* \sa class Inverse * \sa class Inverse
*/ */
template<typename XprType> template<typename ArgType>
struct unary_evaluator<Inverse<XprType> > struct unary_evaluator<Inverse<ArgType> >
: public evaluator<typename Inverse<XprType>::PlainObject>::type : public evaluator<typename Inverse<ArgType>::PlainObject>::type
{ {
typedef Inverse<XprType> InverseType; typedef Inverse<ArgType> InverseType;
typedef typename InverseType::PlainObject PlainObject; typedef typename InverseType::PlainObject PlainObject;
typedef typename evaluator<PlainObject>::type Base; typedef typename evaluator<PlainObject>::type Base;