mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Piotr's patch was missing many occurences of size_t. So,
using std::size_t; This is the only way that we can ensure QCC support in the long term without having to think about it everytime.
This commit is contained in:
@@ -170,7 +170,7 @@ template<typename Derived, typename Base> class MapBase
|
||||
void checkDataAlignment() const
|
||||
{
|
||||
ei_assert( ((!(ei_traits<Derived>::Flags&AlignedBit))
|
||||
|| ((std::size_t(m_data)&0xf)==0)) && "data is not aligned");
|
||||
|| ((size_t(m_data)&0xf)==0)) && "data is not aligned");
|
||||
}
|
||||
|
||||
const Scalar* EIGEN_RESTRICT m_data;
|
||||
|
||||
Reference in New Issue
Block a user