diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2011-02-22 09:30:54 -0500 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2011-02-22 09:30:54 -0500 |
commit | 625814464e504449fcc8ffd27ed20d31d9ec658a (patch) | |
tree | 2a0440400ce2c95a8d1b9bb6136356d3ded6608f /Eigen/src/Core/ReturnByValue.h | |
parent | 25579df2d4b38e434aee4cf0368bf4ffc8ac847d (diff) |
fix legitimate ICC 12 warning
Diffstat (limited to 'Eigen/src/Core/ReturnByValue.h')
-rw-r--r-- | Eigen/src/Core/ReturnByValue.h | 6 |
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 |