aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/ref.cpp
diff options
context:
space:
mode:
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) );