mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-04 18:54:00 +08:00
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:
parent
12e8d57108
commit
35a367d557
@ -77,7 +77,7 @@ public:
|
|||||||
template<int M>
|
template<int M>
|
||||||
FixedInt<N&M> operator&( FixedInt<M>) const { return FixedInt<N&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>():
|
// Needed in C++14 to allow fix<N>():
|
||||||
FixedInt operator() () const { return *this; }
|
FixedInt operator() () const { return *this; }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user