Fix erroneous usage of table::hash() impl which implicitly copy-constructs the const_key_type

This commit is contained in:
LeonineKing1199
2021-12-03 10:07:57 -08:00
parent 8b438dea76
commit 4a42c93897

View File

@ -4064,7 +4064,7 @@ namespace boost {
if (!this->size_)
return 0;
std::size_t key_hash = this->hash(k);
std::size_t key_hash = policy::apply_hash(this->hash_function(), k);
std::size_t bucket_index = this->hash_to_bucket(key_hash);
link_pointer prev =