diff options
author | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2018-08-25 12:21:00 +0200 |
---|---|---|
committer | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2018-08-25 12:21:00 +0200 |
commit | b1653d15996b844852e2cefdd4d63e55dbc771f5 (patch) | |
tree | 2e365ced30670ceb23823e80a127132bcdbc8de2 /unsupported/Eigen/CXX11/src/util | |
parent | 42123ff38bb061a25861d3ec0f98c059d07ec4c1 (diff) |
Fix some trivial C++11 vs C++03 compatibility warnings
Diffstat (limited to 'unsupported/Eigen/CXX11/src/util')
-rw-r--r-- | unsupported/Eigen/CXX11/src/util/EmulateArray.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/unsupported/Eigen/CXX11/src/util/EmulateArray.h b/unsupported/Eigen/CXX11/src/util/EmulateArray.h index 32db51592..d5c000e08 100644 --- a/unsupported/Eigen/CXX11/src/util/EmulateArray.h +++ b/unsupported/Eigen/CXX11/src/util/EmulateArray.h @@ -207,16 +207,16 @@ EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const T& array_get(const array<T,N>& a) { } template<class T, std::size_t N> struct array_size<array<T,N> > { - static const size_t value = N; + enum { value = N }; }; template<class T, std::size_t N> struct array_size<array<T,N>& > { - static const size_t value = N; + enum { value = N }; }; template<class T, std::size_t N> struct array_size<const array<T,N> > { - static const size_t value = N; + enum { value = N }; }; template<class T, std::size_t N> struct array_size<const array<T,N>& > { - static const size_t value = N; + enum { value = N }; }; } // end namespace internal |