diff options
author | Andrey Khalyavin <halyavin@gmail.com> | 2022-02-10 16:46:30 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:30 +0300 |
commit | 4b839d0704ee9be1dabb0310a1f03af24963637b (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/memory/pool.h | |
parent | f773626848a7c7456803654292e716b83d69cc12 (diff) | |
download | ydb-4b839d0704ee9be1dabb0310a1f03af24963637b.tar.gz |
Restoring authorship annotation for Andrey Khalyavin <halyavin@gmail.com>. 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 626bee0ddd..13c8b6b9ed 100644 --- a/util/memory/pool.h +++ b/util/memory/pool.h @@ -212,7 +212,7 @@ public: template <typename TChar> inline TChar* Append(const TChar* str, size_t len) { - TChar* ret = AllocateArray<TChar>(len); + TChar* ret = AllocateArray<TChar>(len); std::char_traits<TChar>::copy(ret, str, len); return ret; @@ -417,8 +417,8 @@ private: template <class T> using TPoolAlloc = TPoolAllocBase<T, TMemoryPool>; -// Any type since it is supposed to be rebound anyway. -using TPoolAllocator = TPoolAlloc<int>; +// Any type since it is supposed to be rebound anyway. +using TPoolAllocator = TPoolAlloc<int>; template <class T> inline bool operator==(const TPoolAlloc<T>&, const TPoolAlloc<T>&) noexcept { |