diff options
author | yazevnul <yazevnul@yandex-team.ru> | 2022-02-10 16:46:48 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:48 +0300 |
commit | 9abfb1a53b7f7b791444d1378e645d8fad9b06ed (patch) | |
tree | 49e222ea1c5804306084bb3ae065bb702625360f /util/memory/pool.h | |
parent | 8cbc307de0221f84c80c42dcbe07d40727537e2c (diff) | |
download | ydb-9abfb1a53b7f7b791444d1378e645d8fad9b06ed.tar.gz |
Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/memory/pool.h')
-rw-r--r-- | util/memory/pool.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/memory/pool.h b/util/memory/pool.h index 0de5467701..13c8b6b9ed 100644 --- a/util/memory/pool.h +++ b/util/memory/pool.h @@ -33,7 +33,7 @@ private: : Cur_((char*)(this + 1)) , Left_(len) { - Y_ASSERT((((size_t)Cur_) % PLATFORM_DATA_ALIGN) == 0); + Y_ASSERT((((size_t)Cur_) % PLATFORM_DATA_ALIGN) == 0); } inline void* Allocate(size_t len) noexcept { @@ -46,7 +46,7 @@ private: return ret; } - return nullptr; + return nullptr; } inline void* Allocate(size_t len, size_t align) noexcept { @@ -57,7 +57,7 @@ private: return static_cast<char*>(ret) + pad; } - return nullptr; + return nullptr; } inline size_t BlockLength() const noexcept { |