Skip to content

Commit

Permalink
[Enhancement] Remove unnecessary reference (#47752)
Browse files Browse the repository at this point in the history
cp greg7mdp/parallel-hashmap@7c092b7

Signed-off-by: zombee0 <ewang2027@gmail.com>
  • Loading branch information
zombee0 authored Jul 2, 2024
1 parent a4beada commit 46915e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/util/phmap/phmap.h
Original file line number Diff line number Diff line change
Expand Up @@ -1397,7 +1397,7 @@ class raw_hash_set {
}

template <class K = key_type, class F>
iterator lazy_emplace_with_hash(const key_arg<K>& key, size_t& hashval, F&& f) {
iterator lazy_emplace_with_hash(const key_arg<K>& key, size_t hashval, F&& f) {
auto res = find_or_prepare_insert(key, hashval);
auto iter = iterator_at(res.first);
if (res.second) {
Expand Down

0 comments on commit 46915e7

Please sign in to comment.