diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Solver/CachingSolver.cpp | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/lib/Solver/CachingSolver.cpp b/lib/Solver/CachingSolver.cpp index 2c7371d0..5e2d45a2 100644 --- a/lib/Solver/CachingSolver.cpp +++ b/lib/Solver/CachingSolver.cpp @@ -16,14 +16,7 @@ #include "klee/Solver/SolverImpl.h" #include "klee/Solver/SolverStats.h" -#include <ciso646> -#ifdef _LIBCPP_VERSION #include <unordered_map> -#define unordered_map std::unordered_map -#else -#include <tr1/unordered_map> -#define unordered_map std::tr1::unordered_map -#endif using namespace klee; @@ -65,10 +58,10 @@ private: } }; - typedef unordered_map<CacheEntry, - IncompleteSolver::PartialValidity, - CacheEntryHash> cache_map; - + typedef std::unordered_map<CacheEntry, IncompleteSolver::PartialValidity, + CacheEntryHash> + cache_map; + Solver *solver; cache_map cache; |