diff options
| author | levlam <levlam@telegram.org> | 2025-06-23 02:26:47 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2025-06-23 02:26:47 +0300 |
| commit | 54b1f00c47707761ac76061fc8b53561a7444d0a (patch) | |
| tree | b78fcb6da36853d42f3abbbd781e3366e827bfe4 /tdutils | |
| parent | 6614c148781db9cdc492c7c428ce685fa3f49abe (diff) | |
Use WaitFreeHashMap in BinlogKeyValue.
Diffstat (limited to 'tdutils')
| -rw-r--r-- | tdutils/td/utils/algorithm.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/tdutils/td/utils/algorithm.h b/tdutils/td/utils/algorithm.h index d225a46a9..a87de8ecb 100644 --- a/tdutils/td/utils/algorithm.h +++ b/tdutils/td/utils/algorithm.h @@ -301,20 +301,4 @@ bool table_remove_if(FlatHashTable<NodeT, HashT, EqT> &table, FuncT &&func) { return table.remove_if(func); } -template <class KeyT, class ValueT, class HashT, class EqT> -class WaitFreeHashMap; - -template <class KeyT, class ValueT, class HashT, class EqT, class FuncT> -bool table_remove_if(WaitFreeHashMap<KeyT, ValueT, HashT, EqT> &table, const FuncT &func) { - return table.remove_if(func); -} - -template <class KeyT, class HashT, class EqT> -class WaitFreeHashSet; - -template <class KeyT, class HashT, class EqT, class FuncT> -bool table_remove_if(WaitFreeHashSet<KeyT, HashT, EqT> &table, const FuncT &func) { - return table.remove_if(func); -} - } // namespace td |
