diff options
author | Gael Guennebaud <g.gael@free.fr> | 2011-02-03 15:40:48 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2011-02-03 15:40:48 +0100 |
commit | 2e2614b0fd44656669450dc901248c907be8aab8 (patch) | |
tree | b2c59d83f8f93522cc318c2639c244f759af0764 /test/zerosized.cpp | |
parent | 2f712771059624d2c948e71fa1fb7f88888493cb (diff) |
fix MSVC8 compilation
Diffstat (limited to 'test/zerosized.cpp')
-rw-r--r-- | test/zerosized.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/zerosized.cpp b/test/zerosized.cpp index a50922fdc..06e31cc09 100644 --- a/test/zerosized.cpp +++ b/test/zerosized.cpp @@ -51,7 +51,7 @@ template<typename VectorType> void zeroSizedVector() if (VectorType::SizeAtCompileTime == Dynamic) { VERIFY(t1.size() == 0); - VectorType t2(long(0)); // long disambiguates with 0-the-null-pointer (error with gcc 4.4) + VectorType t2(DenseIndex(0)); // DenseIndex disambiguates with 0-the-null-pointer (error with gcc 4.4 and MSVC8) VERIFY(t2.size() == 0); } } |