3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-01 04:45:52 +00:00

integrate some self-contained fixes from #2147

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2019-02-24 14:21:34 -08:00
parent 142f3638cf
commit 6ef3e5e363
2 changed files with 2 additions and 2 deletions

View file

@ -151,7 +151,7 @@ public:
if (m_data == nullptr) {
return 0;
}
return static_cast<unsigned>(reinterpret_cast<size_t *>(m_data)[SIZE_IDX]);
return static_cast<unsigned>(reinterpret_cast<size_t *>(m_data)[ARRAY_SIZE_IDX]);
}
bool empty() const { return m_data == nullptr; }