3
0
Fork 0
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:
Nikolaj Bjorner 2025-10-19 20:14:20 +02:00
parent fcc7e02167
commit d65c0fbcd6

View file

@ -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(); }