mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
Update parray.h
deal with compiler warnings by initializing m_elem
This commit is contained in:
parent
c01336553e
commit
3c5b8bd03d
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ private:
|
|||
unsigned size() const { SASSERT(kind() == ROOT); return m_size; }
|
||||
cell * next() const { SASSERT(kind() != ROOT); return m_next; }
|
||||
value const & elem() const { SASSERT(kind() == SET || kind() == PUSH_BACK); return m_elem; }
|
||||
cell(enum ckind k):m_ref_count(1), m_kind(k), m_size(0), m_values(nullptr) {}
|
||||
cell(enum ckind k):m_ref_count(1), m_kind(k), m_size(0), m_elem(), m_values(nullptr) {}
|
||||
};
|
||||
|
||||
value_manager & m_vmanager;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue