summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsergey-tiunov <[email protected]>2025-06-11 05:54:51 +0300
committersergey-tiunov <[email protected]>2025-06-11 06:10:18 +0300
commit53c1be817cfaaf0d9e498fcbb0ba9c860be12382 (patch)
treebc3349f9048d4a94c187a6fcba9fe0bdf437a00a
parent68ce4f15db0a22fea23ad99e695f8a98f356ccec (diff)
Add TMultiHashMap::node_allocator_type
Добавляем `TMultiHashMap::node_allocator_type` по аналогии с [THashMap::node_allocator_type](https://a.yandex-team.ru/arcadia/util/generic/hash.h?rev=rXXXXXX#L19), чтобы вычислять объем занимаемой памяти объектов `TMultiHashMap`. commit_hash:49c8bbcd57ac8292ff1fffa7b59e45fdd88c3278
-rw-r--r--util/generic/hash_multi_map.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/generic/hash_multi_map.h b/util/generic/hash_multi_map.h
index 6b027073cb0..d64f8b3dcbc 100644
--- a/util/generic/hash_multi_map.h
+++ b/util/generic/hash_multi_map.h
@@ -16,6 +16,7 @@ public:
using key_equal = typename ht::key_equal;
using mapped_type = T;
using allocator_type = typename ht::allocator_type;
+ using node_allocator_type = typename ht::node_allocator_type;
using size_type = typename ht::size_type;
using difference_type = typename ht::difference_type;