remove hash_map/hash_set; replace with std::unordered_map|set

This commit is contained in:
Laurent Perron
2017-04-27 14:14:05 +02:00
parent bb865b6667
commit 4db7d3bc4e
63 changed files with 219 additions and 631 deletions

View File

@@ -275,11 +275,7 @@ class SatPresolver {
// Temporary data for SimpleBva().
std::set<LiteralIndex> m_lit_;
std::vector<ClauseIndex> m_cls_;
#if defined(_MSC_VER)
hash_map<LiteralIndex, std::vector<ClauseIndex>, TypedIntHasher<LiteralIndex>> p_;
#else
hash_map<LiteralIndex, std::vector<ClauseIndex>> p_;
#endif
std::unordered_map<LiteralIndex, std::vector<ClauseIndex>> p_;
std::vector<Literal> tmp_new_clause_;
// List of clauses on which we need to call ProcessClauseToSimplifyOthers().