Added MSVC guards to assignment operators.

This commit is contained in:
Hauke Heibel
2009-08-31 14:40:53 +02:00
parent 99bfab6dcf
commit 32a9aee286
2 changed files with 20 additions and 0 deletions

View File

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