mirror of
https://github.com/Z3Prover/z3
synced 2025-08-13 14:40:55 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
67ddbe4a05
commit
2912c355e2
5 changed files with 15 additions and 16 deletions
|
@ -293,7 +293,7 @@ namespace datalog {
|
|||
|
||||
void key_to_reserve(const key_value & key) const {
|
||||
m_keys.ensure_reserve();
|
||||
m_keys.write_into_reserve(reinterpret_cast<char *>(key.c_ptr()));
|
||||
m_keys.write_into_reserve((char *)(key.c_ptr()));
|
||||
}
|
||||
|
||||
offset_vector & get_matching_offset_vector(const key_value & key) {
|
||||
|
|
|
@ -43,7 +43,7 @@ void tbv_manager::reset() {
|
|||
m.reset();
|
||||
}
|
||||
tbv* tbv_manager::allocate() {
|
||||
tbv* r = reinterpret_cast<tbv*>(m.allocate());
|
||||
tbv* r = static_cast<tbv*>(m.allocate());
|
||||
DEBUG_CODE(
|
||||
if (s_debug_alloc) {
|
||||
TRACE("doc", tout << allocated_tbvs.size() << " " << r << "\n";);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue