diff options
author | Hauke Heibel <hauke.heibel@gmail.com> | 2010-04-21 18:21:46 +0200 |
---|---|---|
committer | Hauke Heibel <hauke.heibel@gmail.com> | 2010-04-21 18:21:46 +0200 |
commit | 2db538748847b230ff33cfa7f77426400b9b4811 (patch) | |
tree | 123458a2f26b00312684346b47e3ac9c662339a4 /Eigen/StdList | |
parent | 028bb7ea48c6adeb4599947341e4b5363c0f3bdd (diff) |
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.
Diffstat (limited to 'Eigen/StdList')
-rw-r--r-- | Eigen/StdList | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Eigen/StdList b/Eigen/StdList index a6737593e..d914ded4f 100644 --- a/Eigen/StdList +++ b/Eigen/StdList @@ -28,9 +28,7 @@ #include "Core" #include <list> -#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_LIST_SPECIALIZATION(...) |