mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-15 07:10:37 +08:00
ifdef removed from MapBase and warning disabled
This commit is contained in:
parent
095809edda
commit
bc7aec0ef5
@ -180,12 +180,10 @@ template<typename Derived> class MapBase
|
|||||||
&& cols >= 0 && (ColsAtCompileTime == Dynamic || ColsAtCompileTime == cols)));
|
&& cols >= 0 && (ColsAtCompileTime == Dynamic || ColsAtCompileTime == cols)));
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef _MSC_VER
|
|
||||||
Derived& operator=(const MapBase& other)
|
Derived& operator=(const MapBase& other)
|
||||||
{
|
{
|
||||||
return Base::operator=(other);
|
return Base::operator=(other);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
using Base::operator=;
|
using Base::operator=;
|
||||||
using Base::operator*=;
|
using Base::operator*=;
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#pragma warning( push )
|
#pragma warning( push )
|
||||||
#pragma warning( disable : 4181 4244 4127 4211 4717 )
|
#pragma warning( disable : 4181 4244 4127 4211 4522 4717 )
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user