diff options
author | Gael Guennebaud <g.gael@free.fr> | 2018-07-13 17:47:28 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2018-07-13 17:47:28 +0200 |
commit | 20991c3203818e685dbfd89e20408e5f1b254346 (patch) | |
tree | 0d4a37ea55a5f65c8929fdd8f27b76d93546f967 /Eigen/src/Core/util | |
parent | 1920129d7184d86603e15667989d69ee0e40d07d (diff) |
bug #1571: fix is_convertible<from,to> with "from" a reference.
Diffstat (limited to 'Eigen/src/Core/util')
-rwxr-xr-x | Eigen/src/Core/util/Meta.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/util/Meta.h b/Eigen/src/Core/util/Meta.h index 748f24b1e..658cfa9eb 100755 --- a/Eigen/src/Core/util/Meta.h +++ b/Eigen/src/Core/util/Meta.h @@ -161,7 +161,7 @@ private: static no test(any_conversion, ...); public: - static From* ms_from; + static typename internal::remove_reference<From>::type* ms_from; #ifdef __INTEL_COMPILER #pragma warning push #pragma warning ( disable : 2259 ) |