mirror of
https://github.com/greg7mdp/parallel-hashmap.git
synced 2026-08-29 16:40:39 +08:00
rename custom API clearSubmap.
This commit is contained in:
Vendored
+1
-1
@@ -2755,7 +2755,7 @@ public:
|
||||
|
||||
// extension - clears only soecified submap
|
||||
// ----------------------------------------
|
||||
void clearSubmap(std::size_t submap_index) {
|
||||
void clear(std::size_t submap_index) {
|
||||
Inner& inner = sets_[submap_index];
|
||||
typename Lockable::UniqueLock m(inner);
|
||||
inner.set_.clear();
|
||||
|
||||
Reference in New Issue
Block a user