Fix shadow warnings in AlignedBox and SparseBlock

This commit is contained in:
Eugene Zhulenev 2019-11-27 16:22:27 -08:00
parent ea51a9eace
commit 82a47338df
2 changed files with 0 additions and 8 deletions

View File

@ -254,12 +254,6 @@ enum AlignmentType {
#endif #endif
}; };
/** \ingroup enums
* Enum used by DenseBase::corner() in Eigen2 compatibility mode. */
// FIXME after the corner() API change, this was not needed anymore, except by AlignedBox
// TODO: find out what to do with that. Adapt the AlignedBox API ?
enum CornerType { TopLeft, TopRight, BottomLeft, BottomRight };
/** \ingroup enums /** \ingroup enums
* Enum containing possible values for the \p Direction parameter of * Enum containing possible values for the \p Direction parameter of
* Reverse, PartialReduxExpr and VectorwiseOp. */ * Reverse, PartialReduxExpr and VectorwiseOp. */

View File

@ -463,7 +463,6 @@ template<typename ArgType, int BlockRows, int BlockCols, bool InnerPanel>
class unary_evaluator<Block<ArgType,BlockRows,BlockCols,InnerPanel>, IteratorBased>::InnerVectorInnerIterator class unary_evaluator<Block<ArgType,BlockRows,BlockCols,InnerPanel>, IteratorBased>::InnerVectorInnerIterator
: public EvalIterator : public EvalIterator
{ {
enum { IsRowMajor = unary_evaluator::IsRowMajor };
const XprType& m_block; const XprType& m_block;
Index m_end; Index m_end;
public: public:
@ -488,7 +487,6 @@ public:
template<typename ArgType, int BlockRows, int BlockCols, bool InnerPanel> template<typename ArgType, int BlockRows, int BlockCols, bool InnerPanel>
class unary_evaluator<Block<ArgType,BlockRows,BlockCols,InnerPanel>, IteratorBased>::OuterVectorInnerIterator class unary_evaluator<Block<ArgType,BlockRows,BlockCols,InnerPanel>, IteratorBased>::OuterVectorInnerIterator
{ {
enum { IsRowMajor = unary_evaluator::IsRowMajor };
const unary_evaluator& m_eval; const unary_evaluator& m_eval;
Index m_outerPos; Index m_outerPos;
const Index m_innerIndex; const Index m_innerIndex;