Fix "type qualifiers are meaningless here" warnings

This commit is contained in:
Gael Guennebaud
2013-02-28 19:29:32 +01:00
parent 0fac91ac22
commit e5bf4440c0
4 changed files with 8 additions and 8 deletions

View File

@@ -54,8 +54,8 @@ SparseMatrixBase<Derived>::dot(const SparseMatrixBase<OtherDerived>& other) cons
typedef typename internal::remove_all<Nested>::type NestedCleaned;
typedef typename internal::remove_all<OtherNested>::type OtherNestedCleaned;
const Nested nthis(derived());
const OtherNested nother(other.derived());
Nested nthis(derived());
OtherNested nother(other.derived());
typename NestedCleaned::InnerIterator i(nthis,0);
typename OtherNestedCleaned::InnerIterator j(nother,0);