diff --git a/include/boost/unordered/detail/hash_table_impl.hpp b/include/boost/unordered/detail/hash_table_impl.hpp index 1209d4bb..bdee0614 100644 --- a/include/boost/unordered/detail/hash_table_impl.hpp +++ b/include/boost/unordered/detail/hash_table_impl.hpp @@ -172,7 +172,7 @@ namespace boost { { if (node_) { if (value_constructed_) { - node_->value().~value_type(); + boost::unordered_detail::destroy(&node_->value()); } if (node_constructed_)