diff options
author | Eugene Zhulenev <ezhulenev@google.com> | 2018-10-10 10:31:40 -0700 |
---|---|---|
committer | Eugene Zhulenev <ezhulenev@google.com> | 2018-10-10 10:31:40 -0700 |
commit | 2bf1a31d811fef2085bad97f98e2d0095136b636 (patch) | |
tree | ef48422c1b1a317f3a082ef1cfa28a1d4360659d /Eigen/src/Core/DenseBase.h | |
parent | f3130ee1bab17d7d031d08d031d078707a67e3d1 (diff) |
Use void type if stl-style iterators are not supported
Diffstat (limited to 'Eigen/src/Core/DenseBase.h')
-rw-r--r-- | Eigen/src/Core/DenseBase.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Core/DenseBase.h b/Eigen/src/Core/DenseBase.h index eedeacc94..2a0927317 100644 --- a/Eigen/src/Core/DenseBase.h +++ b/Eigen/src/Core/DenseBase.h @@ -594,12 +594,12 @@ template<typename Derived> class DenseBase typedef typename internal::conditional< IsVectorAtCompileTime, iterator_type, - internal::not_an_iterator<const Derived> + void >::type iterator; typedef typename internal::conditional< IsVectorAtCompileTime, const_iterator_type, - internal::not_an_iterator<const Derived> + void >::type const_iterator; #endif |