3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-28 11:25:51 +00:00

use new hashtable implementation in windows

This commit is contained in:
Ken McMillan 2014-02-27 17:23:19 -08:00
parent 4f06b347b3
commit acf4ad0ab6
15 changed files with 4 additions and 114 deletions

View file

@ -25,9 +25,7 @@ Revision History:
#include <map>
// make hash_map and hash_set available
#ifndef WIN32
using namespace stl_ext;
#endif
namespace Duality {

View file

@ -1955,7 +1955,7 @@ namespace Duality {
}
if(update_count == 0){
if(was_sat)
throw Incompleteness();
throw "Help!";
reporter->Message("backtracked without learning");
}
}

View file

@ -1401,14 +1401,6 @@ namespace hash_space {
};
}
// to make Duality::ast hashable in windows
#ifdef WIN32
template <> inline
size_t stdext::hash_value<Duality::ast >(const Duality::ast& s)
{
return s.raw()->get_id();
}
#endif
// to make Duality::ast usable in ordered collections
namespace std {
@ -1445,14 +1437,6 @@ namespace hash_space {
};
}
// to make Duality::func_decl hashable in windows
#ifdef WIN32
template <> inline
size_t stdext::hash_value<Duality::func_decl >(const Duality::func_decl& s)
{
return s.raw()->get_id();
}
#endif
// to make Duality::func_decl usable in ordered collections
namespace std {