aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/MapBase.h
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2010-02-12 08:58:29 -0500
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2010-02-12 08:58:29 -0500
commit37ca4200b219e2d98bd25a9f91085d60b482d82d (patch)
tree50531ef2e709787da7e086d0b2396ecaebaaf174 /Eigen/src/Core/MapBase.h
parenta76950bdab00e36ef7ad8a34e01fdd2e53594ec1 (diff)
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.
Diffstat (limited to 'Eigen/src/Core/MapBase.h')
-rw-r--r--Eigen/src/Core/MapBase.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/MapBase.h b/Eigen/src/Core/MapBase.h
index 81feb0b5a..a922d8bb0 100644
--- a/Eigen/src/Core/MapBase.h
+++ b/Eigen/src/Core/MapBase.h
@@ -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;