aboutsummaryrefslogtreecommitdiffstats
path: root/util/draft/holder_vector.h
diff options
context:
space:
mode:
authortender-bum <tender-bum@yandex-team.ru>2022-02-10 16:50:01 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:01 +0300
commit4aef354b224559d2b031487a10d4f5cc6e82e95a (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util/draft/holder_vector.h
parentc78b06a63de7beec995c1007bc5332bdf3d75b69 (diff)
downloadydb-4aef354b224559d2b031487a10d4f5cc6e82e95a.tar.gz
Restoring authorship annotation for <tender-bum@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/draft/holder_vector.h')
-rw-r--r--util/draft/holder_vector.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/draft/holder_vector.h b/util/draft/holder_vector.h
index 942f4b718b..1c62055bd9 100644
--- a/util/draft/holder_vector.h
+++ b/util/draft/holder_vector.h
@@ -41,15 +41,15 @@ public:
}
}
- void PushBack(std::unique_ptr<T> t) {
+ void PushBack(std::unique_ptr<T> t) {
PushBack(t.release());
}
- void PushBack(THolder<T> t) {
+ void PushBack(THolder<T> t) {
PushBack(t.Release());
}
- void Reset(size_t i, THolder<T> t) {
+ void Reset(size_t i, THolder<T> t) {
T* current = (*this)[i];
if (current) {
Y_ASSERT(current != t.Get());