diff options
author | ayles <ayles@yandex-team.ru> | 2022-02-10 16:46:11 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:11 +0300 |
commit | d55028e9d9708f94c2d0d35b54ed50d4d7af0456 (patch) | |
tree | d69fdff3b2be7d190a1efa078721d25139d0b030 /util | |
parent | baa58daefa91fde4b4769facdbd2903763b9c6a8 (diff) | |
download | ydb-d55028e9d9708f94c2d0d35b54ed50d4d7af0456.tar.gz |
Restoring authorship annotation for <ayles@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util')
-rw-r--r-- | util/memory/pool.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/util/memory/pool.h b/util/memory/pool.h index 13c8b6b9ed..5f380b2a09 100644 --- a/util/memory/pool.h +++ b/util/memory/pool.h @@ -10,7 +10,7 @@ #include <util/generic/strbuf.h> #include <util/generic/singleton.h> -#include <new> +#include <new> #include <string> #include <utility> @@ -312,10 +312,10 @@ struct TPoolableBase { return pool.Allocate(bytes); } - inline void* operator new(size_t bytes, std::align_val_t align, TPool& pool) { - return pool.Allocate(bytes, (size_t)align); - } - + inline void* operator new(size_t bytes, std::align_val_t align, TPool& pool) { + return pool.Allocate(bytes, (size_t)align); + } + inline void operator delete(void*, size_t) noexcept { } |