aboutsummaryrefslogtreecommitdiffstats
path: root/util/memory/pool.h
diff options
context:
space:
mode:
authorAndrey Khalyavin <halyavin@gmail.com>2022-02-10 16:46:29 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:29 +0300
commitf773626848a7c7456803654292e716b83d69cc12 (patch)
treedb052dfcf9134f492bdbb962cb6c16cea58e1ed3 /util/memory/pool.h
parentf43ab775d197d300eb67bd4497632b909cd7c2a5 (diff)
downloadydb-f773626848a7c7456803654292e716b83d69cc12.tar.gz
Restoring authorship annotation for Andrey Khalyavin <halyavin@gmail.com>. Commit 1 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 13c8b6b9ed..626bee0ddd 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 {