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 | 29bed31aee927301c0981da70e46711e7d9fc2c4 (patch) | |
tree | ab7fbbf3253d4c0e2793218f09378908beb025fb /util/memory | |
parent | 978e66fe3a69ab8a606f065475b0b5db5d8bb7d1 (diff) | |
download | ydb-29bed31aee927301c0981da70e46711e7d9fc2c4.tar.gz |
Restoring authorship annotation for <ireshetnyak@yandex-team.ru>. Commit 2 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 c309f4d4f2..a40aa408f5 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> |