Removed redundant assignment operators.

This commit is contained in:
Hauke Heibel 2009-08-31 13:47:32 +02:00
parent 9005eb0788
commit 99bfab6dcf
2 changed files with 1 additions and 10 deletions

View File

@ -166,11 +166,6 @@ template<typename Derived> class MapBase
&& cols >= 0 && (ColsAtCompileTime == Dynamic || ColsAtCompileTime == cols))); && cols >= 0 && (ColsAtCompileTime == Dynamic || ColsAtCompileTime == cols)));
} }
Derived& operator=(const MapBase& other)
{
return Base::operator=(other);
}
using Base::operator=; using Base::operator=;
using Base::operator*=; using Base::operator*=;

View File

@ -251,11 +251,7 @@ using Base::operator =; \
using Base::operator +=; \ using Base::operator +=; \
using Base::operator -=; \ 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); \
}
#define _EIGEN_GENERIC_PUBLIC_INTERFACE(Derived, BaseClass) \ #define _EIGEN_GENERIC_PUBLIC_INTERFACE(Derived, BaseClass) \
typedef BaseClass Base; \ typedef BaseClass Base; \