Fix compilation with gcc and remove TR1 stuff.

This commit is contained in:
Gael Guennebaud 2019-02-20 13:59:34 +01:00
parent 844e5447f8
commit 4e8047cdcf

View File

@ -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