mirror of
https://github.com/Z3Prover/z3
synced 2025-10-23 07:54:34 +00:00
add explicit constructors for nightly mac build failure
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
fcc7e02167
commit
d65c0fbcd6
1 changed files with 3 additions and 0 deletions
|
@ -58,6 +58,9 @@ public:
|
|||
struct key_data {
|
||||
Key * m_key = nullptr;
|
||||
Value m_value;
|
||||
key_data() {}
|
||||
key_data(Key *key) : m_key(key) {}
|
||||
key_data(Key *k, Value const &v) : m_key(k), m_value(v) {}
|
||||
Value const & get_value() const { return m_value; }
|
||||
Key & get_key () const { return *m_key; }
|
||||
unsigned hash() const { return m_key->hash(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue