From 35a367d557078462a0793c88c44dcad64fc63698 Mon Sep 17 00:00:00 2001 From: Antonio Sanchez Date: Fri, 18 Jun 2021 13:06:04 -0700 Subject: Fix fix<> for gcc-4.9.3. There's a missing `EIGEN_HAS_CXX14` -> `EIGEN_HAS_CXX14_VARIABLE_TEMPLATES` replacement. Fixes ##2267 --- Eigen/src/Core/util/IntegralConstant.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 FixedInt operator&( FixedInt) const { return FixedInt(); } -#if EIGEN_HAS_CXX14 +#if EIGEN_HAS_CXX14_VARIABLE_TEMPLATES // Needed in C++14 to allow fix(): FixedInt operator() () const { return *this; } -- cgit v1.2.3