diff options
| author | gingerBill <bill@gingerbill.org> | 2021-11-05 16:45:27 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-11-05 16:45:27 +0000 |
| commit | 924faa58b43b5e727436cd50bded45b9c43ac3a4 (patch) | |
| tree | fc57e83bf415f93c6ba875e6eb21f686f56962e0 /src/ptr_map.cpp | |
| parent | 6be104e5215668aad05c68cb26e1dd9fe898fc11 (diff) | |
Correct `map_remove(PtrMap)`
Diffstat (limited to 'src/ptr_map.cpp')
| -rw-r--r-- | src/ptr_map.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ptr_map.cpp b/src/ptr_map.cpp index af3cf86f9..153b40b7e 100644 --- a/src/ptr_map.cpp +++ b/src/ptr_map.cpp @@ -219,7 +219,7 @@ void map__erase(PtrMap<K, V> *h, MapFindResult const &fr) { } template <typename K, typename V> -void map_remove(PtrMap<K, V> *h, HashKey const &key) { +void map_remove(PtrMap<K, V> *h, K key) { MapFindResult fr = map__find(h, key); if (fr.entry_index != MAP_SENTINEL) { map__erase(h, fr); |