diff options
author | smalov <smalov@yandex-team.ru> | 2022-02-10 16:47:36 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:36 +0300 |
commit | f70d9720e13aef3a935e3f405b0eac554529e76e (patch) | |
tree | 5519c392aebdb16153197de07e4774c0a2be261a /util/memory/segpool_alloc.h | |
parent | 7b659037613268d5eac4a1b6a7c5eff3cd36d4bf (diff) | |
download | ydb-f70d9720e13aef3a935e3f405b0eac554529e76e.tar.gz |
Restoring authorship annotation for <smalov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/memory/segpool_alloc.h')
-rw-r--r-- | util/memory/segpool_alloc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/memory/segpool_alloc.h b/util/memory/segpool_alloc.h index 1a83b7a543..016217b6b5 100644 --- a/util/memory/segpool_alloc.h +++ b/util/memory/segpool_alloc.h @@ -31,7 +31,7 @@ template <class _Tp> struct segpool_alloc { using pool_type = segmented_pool<char>; - pool_type* pool; + pool_type* pool; using pointer = _Tp*; using const_pointer = const _Tp*; using reference = _Tp&; @@ -47,11 +47,11 @@ struct segpool_alloc { { Y_IF_DEBUG(pool_count = malloc_count = pool_free_count = malloc_free_count = 0); } - segpool_alloc(pool_type* p) + segpool_alloc(pool_type* p) : pool(p) { Y_IF_DEBUG(pool_count = malloc_count = pool_free_count = malloc_free_count = 0); - } + } segpool_alloc(const segpool_alloc& a) : pool(a.pool) { |