workaround one more shadowing issue with MSVC

This commit is contained in:
Gael Guennebaud 2014-09-16 18:21:39 -07:00
parent e44d78dab3
commit 0bf5894861

View File

@ -29,9 +29,10 @@ namespace Eigen {
namespace internal { namespace internal {
template<typename MatrixType> template<typename MatrixType>
struct traits<Transpose<MatrixType> > : traits<MatrixType> struct traits<Transpose<MatrixType> >
{ {
typedef typename MatrixType::Scalar Scalar; typedef typename traits<MatrixType>::Scalar Scalar;
typedef typename traits<MatrixType>::Index Index;
typedef typename nested<MatrixType>::type MatrixTypeNested; typedef typename nested<MatrixType>::type MatrixTypeNested;
typedef typename remove_reference<MatrixTypeNested>::type MatrixTypeNestedPlain; typedef typename remove_reference<MatrixTypeNested>::type MatrixTypeNestedPlain;
typedef typename traits<MatrixType>::StorageKind StorageKind; typedef typename traits<MatrixType>::StorageKind StorageKind;