diff options
author | Hauke Heibel <hauke.heibel@gmail.com> | 2009-08-31 13:47:32 +0200 |
---|---|---|
committer | Hauke Heibel <hauke.heibel@gmail.com> | 2009-08-31 13:47:32 +0200 |
commit | 99bfab6dcfec005bc2bc9291716fb3a7c5e7c21d (patch) | |
tree | 344e5f0b40654a1c69144e094c0bbf10e02d0b28 /Eigen/src/Core | |
parent | 9005eb07884ff850b8801cfcb78d3533bace4342 (diff) |
Removed redundant assignment operators.
Diffstat (limited to 'Eigen/src/Core')
-rw-r--r-- | Eigen/src/Core/MapBase.h | 5 | ||||
-rw-r--r-- | Eigen/src/Core/util/Macros.h | 6 |
2 files changed, 1 insertions, 10 deletions
diff --git a/Eigen/src/Core/MapBase.h b/Eigen/src/Core/MapBase.h index 9cb085b61..a8fded4a0 100644 --- a/Eigen/src/Core/MapBase.h +++ b/Eigen/src/Core/MapBase.h @@ -166,11 +166,6 @@ template<typename Derived> class MapBase && cols >= 0 && (ColsAtCompileTime == Dynamic || ColsAtCompileTime == cols))); } - Derived& operator=(const MapBase& other) - { - return Base::operator=(other); - } - using Base::operator=; using Base::operator*=; diff --git a/Eigen/src/Core/util/Macros.h b/Eigen/src/Core/util/Macros.h index dc3b3ee0a..7fb10a315 100644 --- a/Eigen/src/Core/util/Macros.h +++ b/Eigen/src/Core/util/Macros.h @@ -251,11 +251,7 @@ using Base::operator =; \ using Base::operator +=; \ using Base::operator -=; \ using Base::operator *=; \ -using Base::operator /=; \ -EIGEN_STRONG_INLINE Derived& operator=(const Derived& other) \ -{ \ - return Base::operator=(other); \ -} +using Base::operator /=; #define _EIGEN_GENERIC_PUBLIC_INTERFACE(Derived, BaseClass) \ typedef BaseClass Base; \ |