aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/StlSupport
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2011-08-22 10:48:04 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2011-08-22 10:48:04 +0200
commitb3f5fbbd9a3a0ca92dff8c16123cdd9838a38fd6 (patch)
tree6e1f25e84f46434ed891c83851f5ed8a260f7050 /Eigen/src/StlSupport
parentb85c89c313a79fa68b3e27c64247437f51a3657e (diff)
oops EIGEN_DEFINE_STL_VECTOR_SPECIALIZATION now perfroms full specialization,
no need for the typename keywords
Diffstat (limited to 'Eigen/src/StlSupport')
-rw-r--r--Eigen/src/StlSupport/StdVector.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Eigen/src/StlSupport/StdVector.h b/Eigen/src/StlSupport/StdVector.h
index 9a8749c30..27d6ab539 100644
--- a/Eigen/src/StlSupport/StdVector.h
+++ b/Eigen/src/StlSupport/StdVector.h
@@ -43,9 +43,9 @@ namespace std \
typedef vector<__VA_ARGS__, EIGEN_ALIGNED_ALLOCATOR<__VA_ARGS__> > vector_base; \
public: \
typedef __VA_ARGS__ value_type; \
- typedef typename vector_base::allocator_type allocator_type; \
- typedef typename vector_base::size_type size_type; \
- typedef typename vector_base::iterator iterator; \
+ typedef vector_base::allocator_type allocator_type; \
+ typedef vector_base::size_type size_type; \
+ typedef vector_base::iterator iterator; \
explicit vector(const allocator_type& a = allocator_type()) : vector_base(a) {} \
template<typename InputIterator> \
vector(InputIterator first, InputIterator last, const allocator_type& a = allocator_type()) : vector_base(first, last, a) {} \