Clean source code and unit tests with respect to -Wunused-local-typedefs

This commit is contained in:
Gael Guennebaud
2013-04-10 22:27:35 +02:00
parent 7e04d7db02
commit 899c0c2b6c
60 changed files with 3 additions and 114 deletions

View File

@@ -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) );