aboutsummaryrefslogtreecommitdiffstats
path: root/util/memory/pool.h
diff options
context:
space:
mode:
authorayles <ayles@yandex-team.ru>2022-02-10 16:46:11 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:11 +0300
commit480eebba2142866e78db15cd7600bb3f452a2dbc (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/memory/pool.h
parentd55028e9d9708f94c2d0d35b54ed50d4d7af0456 (diff)
downloadydb-480eebba2142866e78db15cd7600bb3f452a2dbc.tar.gz
Restoring authorship annotation for <ayles@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/memory/pool.h')
-rw-r--r--util/memory/pool.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/util/memory/pool.h b/util/memory/pool.h
index 5f380b2a09..13c8b6b9ed 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 {
}