From 2db538748847b230ff33cfa7f77426400b9b4811 Mon Sep 17 00:00:00 2001 From: Hauke Heibel Date: Wed, 21 Apr 2010 18:21:46 +0200 Subject: Fixed two bad errors on std::vector. First, MSVC 2010 does not ship a 'fixed'/'adapted' STL. Second, only under very rare cases we do not even need the aligned_allocator. --- Eigen/StdVector | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Eigen/StdVector') diff --git a/Eigen/StdVector b/Eigen/StdVector index e102b5fc1..f780a1633 100644 --- a/Eigen/StdVector +++ b/Eigen/StdVector @@ -29,9 +29,7 @@ #include "Core" #include -#if (defined(_MSC_VER) && defined(_WIN64)) || /* MSVC auto aligns in 64 bit builds */ \ - (defined(_MSC_VER) && _MSC_VER >= 1600) || /* MSVC 2010 ships alignment compatible STL libs */ \ - (defined(_GLIBCXX_VECTOR) && (!EIGEN_GNUC_AT_LEAST(4,1))) /* Note that before gcc-4.1 we already have: std::vector::resize(size_type,const T&). */ +#if (defined(_MSC_VER) && defined(_WIN64)) /* MSVC auto aligns in 64 bit builds */ #define EIGEN_DEFINE_STL_VECTOR_SPECIALIZATION(...) -- cgit v1.2.3