diff options
| author | levlam <levlam@telegram.org> | 2022-03-09 16:40:50 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2022-03-09 16:40:50 +0300 |
| commit | 44b844eeeb8702b9ce2421985a1645b9956c7ee6 (patch) | |
| tree | 47b2f1257b089b61d089f873089c234d82110485 /tdutils/td/utils/FlatHashMapChunks.h | |
| parent | 8b897c7c5fa35a22dff82f45697e23188b18b05e (diff) | |
Rename is_key_empty to is_hash_table_key_empty.
Diffstat (limited to 'tdutils/td/utils/FlatHashMapChunks.h')
| -rw-r--r-- | tdutils/td/utils/FlatHashMapChunks.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tdutils/td/utils/FlatHashMapChunks.h b/tdutils/td/utils/FlatHashMapChunks.h index 07c5a2d4f..c5bf6e8f7 100644 --- a/tdutils/td/utils/FlatHashMapChunks.h +++ b/tdutils/td/utils/FlatHashMapChunks.h @@ -257,7 +257,7 @@ class FlatHashTableChunks { } Iterator find(const KeyT &key) { - if (empty() || is_key_empty(key)) { + if (empty() || is_hash_table_key_empty(key)) { return end(); } const auto hash = calc_hash(key); @@ -326,7 +326,7 @@ class FlatHashTableChunks { template <class... ArgsT> std::pair<Iterator, bool> emplace(KeyT key, ArgsT &&...args) { - CHECK(!is_key_empty(key)); + CHECK(!is_hash_table_key_empty(key)); auto it = find(key); if (it != end()) { return {it, false}; |
