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

@@ -78,8 +78,8 @@ MatrixBase<Derived>::cross3(const MatrixBase<OtherDerived>& other) const
typedef typename internal::nested<Derived,2>::type DerivedNested;
typedef typename internal::nested<OtherDerived,2>::type OtherDerivedNested;
const DerivedNested lhs(derived());
const OtherDerivedNested rhs(other.derived());
DerivedNested lhs(derived());
OtherDerivedNested rhs(other.derived());
return internal::cross3_impl<Architecture::Target,
typename internal::remove_all<DerivedNested>::type,