aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/ReturnByValue.h
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2011-02-22 09:30:54 -0500
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2011-02-22 09:30:54 -0500
commit625814464e504449fcc8ffd27ed20d31d9ec658a (patch)
tree2a0440400ce2c95a8d1b9bb6136356d3ded6608f /Eigen/src/Core/ReturnByValue.h
parent25579df2d4b38e434aee4cf0368bf4ffc8ac847d (diff)
fix legitimate ICC 12 warning
Diffstat (limited to 'Eigen/src/Core/ReturnByValue.h')
-rw-r--r--Eigen/src/Core/ReturnByValue.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Eigen/src/Core/ReturnByValue.h b/Eigen/src/Core/ReturnByValue.h
index c0d65f5cb..24c5a4e21 100644
--- a/Eigen/src/Core/ReturnByValue.h
+++ b/Eigen/src/Core/ReturnByValue.h
@@ -71,9 +71,9 @@ template<typename Derived> class ReturnByValue
template<typename Dest>
inline void evalTo(Dest& dst) const
- { static_cast<const Derived* const>(this)->evalTo(dst); }
- inline Index rows() const { return static_cast<const Derived* const>(this)->rows(); }
- inline Index cols() const { return static_cast<const Derived* const>(this)->cols(); }
+ { static_cast<const Derived*>(this)->evalTo(dst); }
+ inline Index rows() const { return static_cast<const Derived*>(this)->rows(); }
+ inline Index cols() const { return static_cast<const Derived*>(this)->cols(); }
#ifndef EIGEN_PARSED_BY_DOXYGEN
#define Unusable YOU_ARE_TRYING_TO_ACCESS_A_SINGLE_COEFFICIENT_IN_A_SPECIAL_EXPRESSION_WHERE_THAT_IS_NOT_ALLOWED_BECAUSE_THAT_WOULD_BE_INEFFICIENT