summaryrefslogtreecommitdiffstats
path: root/util/draft/holder_vector.h
diff options
context:
space:
mode:
authortender-bum <[email protected]>2022-02-10 16:50:01 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:50:01 +0300
commitc78b06a63de7beec995c1007bc5332bdf3d75b69 (patch)
tree729de992758f40b85278d4abaad655be5dd68dbc /util/draft/holder_vector.h
parent95ab23a39b5482a434361566cabdd5b0a433cb43 (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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/draft/holder_vector.h b/util/draft/holder_vector.h
index 1c62055bd95..942f4b718bf 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());