Remove some useless const_cast

This commit is contained in:
Gael Guennebaud
2019-01-17 18:27:49 +01:00
parent 0fe6b7d687
commit ee3662abc5
4 changed files with 4 additions and 4 deletions

View File

@@ -132,7 +132,7 @@ public:
/** \returns the nested expression */
typename internal::remove_reference<XprType>::type&
nestedExpression() { return m_xpr.const_cast_derived(); }
nestedExpression() { return m_xpr; }
/** \returns a const reference to the object storing/generating the row indices */
const RowIndices& rowIndices() const { return m_rowIndices; }