Workaround MSVC issue.

This commit is contained in:
Gael Guennebaud 2016-10-27 21:51:37 +02:00
parent c3ce4f9ac0
commit 530f20c21a

View File

@ -95,7 +95,9 @@ struct traits<TensorMap<PlainObjectType, Options_ , MakePointer_> >
Flags = BaseTraits::Flags
};
template <class T> struct MakePointer {
typedef typename MakePointer_<T>::Type Type;
// Intermediate typedef to workaround MSVC issue.
typedef MakePointer_<T> MakePointerT;
typedef typename MakePointerT::Type Type;
};
};