aboutsummaryrefslogtreecommitdiffstats
path: root/util/memory/pool.h
diff options
context:
space:
mode:
authorAndrey Khalyavin <halyavin@gmail.com>2022-02-10 16:46:30 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:30 +0300
commit4b839d0704ee9be1dabb0310a1f03af24963637b (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/memory/pool.h
parentf773626848a7c7456803654292e716b83d69cc12 (diff)
downloadydb-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.h6
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 {