diff options
author | ireshetnyak <ireshetnyak@yandex-team.ru> | 2022-02-10 16:51:44 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:51:44 +0300 |
commit | 978e66fe3a69ab8a606f065475b0b5db5d8bb7d1 (patch) | |
tree | a3dc328bd82b6c4d0f4e287a557451b02c771b56 /util/memory | |
parent | 61134a826cdc637b34b9fc66427e24dd061d4bd1 (diff) | |
download | ydb-978e66fe3a69ab8a606f065475b0b5db5d8bb7d1.tar.gz |
Restoring authorship annotation for <ireshetnyak@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/memory')
-rw-r--r-- | util/memory/segmented_string_pool.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/memory/segmented_string_pool.h b/util/memory/segmented_string_pool.h index a40aa408f5..c309f4d4f2 100644 --- a/util/memory/segmented_string_pool.h +++ b/util/memory/segmented_string_pool.h @@ -179,9 +179,9 @@ public: last_free -= t - curseg->freepos; curseg->freepos = t; } - char* Allocate(size_t len) { + char* Allocate(size_t len) { return append(nullptr, len); - } + } }; template <typename T, typename C> |