Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kelbon committed Jan 26, 2025
1 parent 821af78 commit b12ea89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dynamic_table.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ struct dynamic_table_t::entry_t : bi::set_base_hook<bi::link_mode<bi::normal_lin
static void destroy(const entry_t* e, std::pmr::memory_resource* resource) noexcept {
assert(e && resource);
std::destroy_at(e);
resource->deallocate((void*)e, e->value_end, alignof(entry_t));
resource->deallocate((void*)e, sizeof(entry_t) + e->value_end, alignof(entry_t));
}
};

Expand Down

0 comments on commit b12ea89

Please sign in to comment.