Fix fix<> for gcc-4.9.3.

There's a missing `EIGEN_HAS_CXX14` -> `EIGEN_HAS_CXX14_VARIABLE_TEMPLATES`
replacement.

Fixes ##2267
This commit is contained in:
Antonio Sanchez 2021-06-18 13:06:04 -07:00
parent 12e8d57108
commit 35a367d557

View File

@ -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; }