mirror of
https://github.com/Z3Prover/z3
synced 2025-08-11 05:30:51 +00:00
removing address dependencies
This commit is contained in:
parent
eee2d7af94
commit
ebc8a43fe3
10 changed files with 100 additions and 7 deletions
|
@ -37,6 +37,24 @@ Revision History:
|
|||
using namespace stl_ext;
|
||||
#endif
|
||||
|
||||
#ifndef WIN32
|
||||
|
||||
/* This can introduce an address dependency if the range type of hash_map has
|
||||
a destructor. Since the code in this file is not used and only here for
|
||||
historical comparisons, we allow this non-determinism.
|
||||
*/
|
||||
namespace stl_ext {
|
||||
template <class T>
|
||||
class hash<T *> {
|
||||
public:
|
||||
size_t operator()(const T *p) const {
|
||||
return (size_t) p;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
static int lemma_count = 0;
|
||||
static int nll_lemma_count = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue