aboutsummaryrefslogtreecommitdiffstats
path: root/util/memory/pool_ut.cpp
diff options
context:
space:
mode:
authoreeight <eeight@yandex-team.ru>2022-02-10 16:46:18 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:18 +0300
commit475c0a46f28166e83fd263badc7546377cddcabe (patch)
tree39c5a49b8aaad78fe390b6f1f2886bdbda40f3e7 /util/memory/pool_ut.cpp
parenta6e0145a095c7bb3770d6e07aee301de5c73f96e (diff)
downloadydb-475c0a46f28166e83fd263badc7546377cddcabe.tar.gz
Restoring authorship annotation for <eeight@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/memory/pool_ut.cpp')
-rw-r--r--util/memory/pool_ut.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/memory/pool_ut.cpp b/util/memory/pool_ut.cpp
index 1158a8ca42..568bd0708a 100644
--- a/util/memory/pool_ut.cpp
+++ b/util/memory/pool_ut.cpp
@@ -158,9 +158,9 @@ private:
{
TMemoryPool pool(123, TMemoryPool::TExpGrow::Instance(), &alloc);
- THolder<TConstructorTest, TDestructor> data1{pool.New<TConstructorTest>()};
- THolder<TConstructorTest, TDestructor> data2{pool.New<TConstructorTest>(42)};
- THolder<TConstructorTest, TDestructor> data3{pool.New<TConstructorTest>("hello", "world")};
+ THolder<TConstructorTest, TDestructor> data1{pool.New<TConstructorTest>()};
+ THolder<TConstructorTest, TDestructor> data2{pool.New<TConstructorTest>(42)};
+ THolder<TConstructorTest, TDestructor> data3{pool.New<TConstructorTest>("hello", "world")};
UNIT_ASSERT_VALUES_EQUAL(data1->ConstructorType, 1);
UNIT_ASSERT_VALUES_EQUAL(data2->ConstructorType, 2);
UNIT_ASSERT_VALUES_EQUAL(data3->ConstructorType, 4);