aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Antonio Sanchez <cantonios@google.com>2021-06-18 13:06:04 -0700
committerGravatar Antonio Sanchez <cantonios@google.com>2021-06-18 13:22:54 -0700
commit35a367d557078462a0793c88c44dcad64fc63698 (patch)
tree4fd14f51035fc72ea209b48903fdaddcf20865bb
parent12e8d57108c50d8a63605c6eb0144c838c128337 (diff)
Fix fix<> for gcc-4.9.3.
There's a missing `EIGEN_HAS_CXX14` -> `EIGEN_HAS_CXX14_VARIABLE_TEMPLATES` replacement. Fixes ##2267
-rw-r--r--Eigen/src/Core/util/IntegralConstant.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/util/IntegralConstant.h b/Eigen/src/Core/util/IntegralConstant.h
index d457e02ee..945d426ea 100644
--- a/Eigen/src/Core/util/IntegralConstant.h
+++ b/Eigen/src/Core/util/IntegralConstant.h
@@ -77,7 +77,7 @@ public:
template<int M>
FixedInt<N&M> operator&( FixedInt<M>) const { return FixedInt<N&M>(); }
-#if EIGEN_HAS_CXX14
+#if EIGEN_HAS_CXX14_VARIABLE_TEMPLATES
// Needed in C++14 to allow fix<N>():
FixedInt operator() () const { return *this; }