aboutsummaryrefslogtreecommitdiffstats
path: root/util/memory/pool.h
diff options
context:
space:
mode:
authora-romanov <a-romanov@yandex-team.ru>2022-02-10 16:48:10 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:10 +0300
commitaa2986a34bde73b2cdcea5080c4443b7cf2ba686 (patch)
tree410fbde59311309b774a0da147f79628c3429a2c /util/memory/pool.h
parente77cfd118321c5b9c168fdee41b4e6c5706b8f68 (diff)
downloadydb-aa2986a34bde73b2cdcea5080c4443b7cf2ba686.tar.gz
Restoring authorship annotation for <a-romanov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/memory/pool.h')
-rw-r--r--util/memory/pool.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/memory/pool.h b/util/memory/pool.h
index 13c8b6b9ed..efc20f0fc5 100644
--- a/util/memory/pool.h
+++ b/util/memory/pool.h
@@ -12,7 +12,7 @@
#include <new>
#include <string>
-#include <utility>
+#include <utility>
/**
* Memory pool implements a memory allocation scheme that is very fast, but
@@ -191,7 +191,7 @@ public:
template <typename T, typename... Args>
inline T* New(Args&&... args) {
- return new (Allocate<T>()) T(std::forward<Args>(args)...);
+ return new (Allocate<T>()) T(std::forward<Args>(args)...);
}
template <typename T>