diff options
author | Gael Guennebaud <g.gael@free.fr> | 2019-02-20 13:59:34 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2019-02-20 13:59:34 +0100 |
commit | 4e8047cdcf9a527fa1a0178c370e600eefbcb8b7 (patch) | |
tree | c50ca3ce31098bffe1cbfe8907ff0b3425fddc7f /test/sparse.h | |
parent | 844e5447f8dd28989a58cd33e357bb68bc175c2a (diff) |
Fix compilation with gcc and remove TR1 stuff.
Diffstat (limited to 'test/sparse.h')
-rw-r--r-- | test/sparse.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/test/sparse.h b/test/sparse.h index 7d753fdba..df471b4e2 100644 --- a/test/sparse.h +++ b/test/sparse.h @@ -16,11 +16,6 @@ #if EIGEN_HAS_CXX11 -#include <unordered_map> -#define EIGEN_UNORDERED_MAP_SUPPORT - -#elif EIGEN_GNUC_AT_LEAST(4,0) && !defined __ICC && !defined(__clang__) - #ifdef min #undef min #endif @@ -29,11 +24,9 @@ #undef max #endif -#include <tr1/unordered_map> +#include <unordered_map> #define EIGEN_UNORDERED_MAP_SUPPORT -namespace std { - using std::tr1::unordered_map; -} + #endif #ifdef EIGEN_GOOGLEHASH_SUPPORT |