aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/ref.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2013-04-10 22:27:35 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2013-04-10 22:27:35 +0200
commit899c0c2b6c723b4b6e324fd8c157e53039c54f67 (patch)
tree3ec9470328f8597a03f3ac8a33d3c12c04c0a326 /test/ref.cpp
parent7e04d7db029866eab0ff7c2a752edb2905bff61f (diff)
Clean source code and unit tests with respect to -Wunused-local-typedefs
Diffstat (limited to 'test/ref.cpp')
-rw-r--r--test/ref.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/ref.cpp b/test/ref.cpp
index 9c24f3a4f..7c0ccafcf 100644
--- a/test/ref.cpp
+++ b/test/ref.cpp
@@ -146,9 +146,6 @@ template<typename VectorType> void ref_vector(const VectorType& m)
template<typename PlainObjectType> void check_const_correctness(const PlainObjectType&)
{
- typedef typename PlainObjectType::Index Index;
- typedef typename PlainObjectType::Scalar Scalar;
-
// verify that ref-to-const don't have LvalueBit
typedef typename internal::add_const<PlainObjectType>::type ConstPlainObjectType;
VERIFY( !(internal::traits<Ref<ConstPlainObjectType> >::Flags & LvalueBit) );