aboutsummaryrefslogtreecommitdiffstats
path: root/util/draft/holder_vector.h
diff options
context:
space:
mode:
authorrizar <rizar@yandex-team.ru>2022-02-10 16:52:00 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:52:00 +0300
commit89095424699b7e7dfed848f43ee38a6208ae179d (patch)
treeb09d86a83c84ec2ab64246eecabfb723613e7f98 /util/draft/holder_vector.h
parent57b4fa3b291121439146080add3207b981776bd7 (diff)
downloadydb-89095424699b7e7dfed848f43ee38a6208ae179d.tar.gz
Restoring authorship annotation for <rizar@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/draft/holder_vector.h')
-rw-r--r--util/draft/holder_vector.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/util/draft/holder_vector.h b/util/draft/holder_vector.h
index 1c62055bd9..bbb75228a7 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);
}