summaryrefslogtreecommitdiffstats
path: root/util/draft/holder_vector.h
diff options
context:
space:
mode:
authoraosipenko <[email protected]>2022-02-10 16:48:08 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:48:08 +0300
commit948fd24d47d4b3b7815aaef1686aea00ef3f4288 (patch)
tree8ad4c39c2a5f8b341bc02e3b0c5e8f26c40373cb /util/draft/holder_vector.h
parentd2eb4aae699fa2f6901bf32d22eec019c8f29838 (diff)
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/draft/holder_vector.h')
-rw-r--r--util/draft/holder_vector.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/util/draft/holder_vector.h b/util/draft/holder_vector.h
index 1c62055bd95..7c80c644535 100644
--- a/util/draft/holder_vector.h
+++ b/util/draft/holder_vector.h
@@ -42,9 +42,9 @@ public:
}
void PushBack(std::unique_ptr<T> t) {
- PushBack(t.release());
- }
-
+ PushBack(t.release());
+ }
+
void PushBack(THolder<T> t) {
PushBack(t.Release());
}
@@ -78,10 +78,10 @@ public:
TBase::resize(newSize);
}
- void Swap(THolderVector& other) {
- TBase::swap(other);
- }
-
+ void Swap(THolderVector& other) {
+ TBase::swap(other);
+ }
+
using TBase::operator[];
using TBase::operator bool;
using TBase::at;