mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-19 16:19:37 +08:00
Enable MSVC 2010 workaround from MSVC only
This commit is contained in:
parent
731c8c704d
commit
c3e2afce0d
@ -955,7 +955,7 @@ namespace Eigen {
|
|||||||
const typename internal::plain_constant_type<EXPR,SCALAR>::type, const EXPR>
|
const typename internal::plain_constant_type<EXPR,SCALAR>::type, const EXPR>
|
||||||
|
|
||||||
// Workaround for MSVC 2010 (see ML thread "patch with compile for for MSVC 2010")
|
// Workaround for MSVC 2010 (see ML thread "patch with compile for for MSVC 2010")
|
||||||
#if EIGEN_COMP_MSVC_STRICT<=1600
|
#if EIGEN_COMP_MSVC_STRICT && (EIGEN_COMP_MSVC_STRICT<=1600)
|
||||||
#define EIGEN_MSVC10_WORKAROUND_BINARYOP_RETURN_TYPE(X) typename internal::enable_if<true,X>::type
|
#define EIGEN_MSVC10_WORKAROUND_BINARYOP_RETURN_TYPE(X) typename internal::enable_if<true,X>::type
|
||||||
#else
|
#else
|
||||||
#define EIGEN_MSVC10_WORKAROUND_BINARYOP_RETURN_TYPE(X) X
|
#define EIGEN_MSVC10_WORKAROUND_BINARYOP_RETURN_TYPE(X) X
|
||||||
|
Loading…
x
Reference in New Issue
Block a user