mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-04 18:54:00 +08:00
MSVC fix; the base class typedef shadowed the local template parameter.
This commit is contained in:
parent
6dd93fc76e
commit
5e8384df2e
@ -213,8 +213,8 @@ template<typename PlainObjectType, int Options, typename StrideType> class Ref
|
|||||||
};
|
};
|
||||||
|
|
||||||
// this is the const ref version
|
// this is the const ref version
|
||||||
template<typename PlainObjectType, int Options, typename StrideType> class Ref<const PlainObjectType, Options, StrideType>
|
template<typename TPlainObjectType, int Options, typename StrideType> class Ref<const TPlainObjectType, Options, StrideType>
|
||||||
: public RefBase<Ref<const PlainObjectType, Options, StrideType> >
|
: public RefBase<Ref<const TPlainObjectType, Options, StrideType> >
|
||||||
{
|
{
|
||||||
typedef internal::traits<Ref> Traits;
|
typedef internal::traits<Ref> Traits;
|
||||||
public:
|
public:
|
||||||
@ -247,7 +247,7 @@ template<typename PlainObjectType, int Options, typename StrideType> class Ref<c
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
PlainObjectType m_object;
|
TPlainObjectType m_object;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // end namespace Eigen
|
} // end namespace Eigen
|
||||||
|
Loading…
x
Reference in New Issue
Block a user