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:
Benoit Jacob
2010-02-12 08:58:29 -05:00
parent a76950bdab
commit 37ca4200b2
5 changed files with 31 additions and 27 deletions

View File

@@ -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;