From 0e34aab465c361b4dd3b7f1d5ff40b312922f921 Mon Sep 17 00:00:00 2001 From: Martin Nowack Date: Thu, 12 Dec 2019 15:18:58 +0000 Subject: Replace old TR1 implementations of unordered_map/set with std::* versions TR1 implementation got replaced by the std::* equivalents with C++11. Start to use the standard versions instead of the old ones. --- lib/Solver/CachingSolver.cpp | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to 'lib/Solver/CachingSolver.cpp') 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 -#ifdef _LIBCPP_VERSION #include -#define unordered_map std::unordered_map -#else -#include -#define unordered_map std::tr1::unordered_map -#endif using namespace klee; @@ -65,10 +58,10 @@ private: } }; - typedef unordered_map cache_map; - + typedef std::unordered_map + cache_map; + Solver *solver; cache_map cache; -- cgit 1.4.1