From 4e8047cdcf9a527fa1a0178c370e600eefbcb8b7 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Wed, 20 Feb 2019 13:59:34 +0100 Subject: [PATCH] Fix compilation with gcc and remove TR1 stuff. --- test/sparse.h | 11 ++--------- 1 file 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 -#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 +#include #define EIGEN_UNORDERED_MAP_SUPPORT -namespace std { - using std::tr1::unordered_map; -} + #endif #ifdef EIGEN_GOOGLEHASH_SUPPORT