diff options
author | rizar <rizar@yandex-team.ru> | 2022-02-10 16:52:00 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:52:00 +0300 |
commit | a74cf0fbdd8346ba01550663da70ea92ee6a5466 (patch) | |
tree | ab7fbbf3253d4c0e2793218f09378908beb025fb | |
parent | 89095424699b7e7dfed848f43ee38a6208ae179d (diff) | |
download | ydb-a74cf0fbdd8346ba01550663da70ea92ee6a5466.tar.gz |
Restoring authorship annotation for <rizar@yandex-team.ru>. Commit 2 of 2.
-rw-r--r-- | util/draft/holder_vector.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/util/draft/holder_vector.h b/util/draft/holder_vector.h index bbb75228a7..1c62055bd9 100644 --- a/util/draft/holder_vector.h +++ b/util/draft/holder_vector.h @@ -71,13 +71,13 @@ public: return t; } - void Resize(size_t newSize) { - for (size_t i = newSize; i < size(); ++i) { + void Resize(size_t newSize) { + for (size_t i = newSize; i < size(); ++i) { D::Destroy((*this)[i]); - } - TBase::resize(newSize); - } - + } + TBase::resize(newSize); + } + void Swap(THolderVector& other) { TBase::swap(other); } |