mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Workaround MSVC issue.
This commit is contained in:
@@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user