aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/vector.h
diff options
context:
space:
mode:
authoriroubin <iroubin@yandex-team.ru>2022-02-10 16:52:05 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:52:05 +0300
commit94a4c65975048c0c31313b5105d9eb14cbde4985 (patch)
tree10d8bff3d82a2ded7c507fbc2f27eebf8eccc4b7 /util/generic/vector.h
parent774bb09ec81216d51cb063ed9af52ddbc712ab20 (diff)
downloadydb-94a4c65975048c0c31313b5105d9eb14cbde4985.tar.gz
Restoring authorship annotation for <iroubin@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/generic/vector.h')
-rw-r--r--util/generic/vector.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/util/generic/vector.h b/util/generic/vector.h
index a5b258955a8..1d7421d1c96 100644
--- a/util/generic/vector.h
+++ b/util/generic/vector.h
@@ -71,12 +71,12 @@ public:
: TBase(src)
{
}
-
+
inline TVector(TSelf&& src) noexcept
: TBase(std::forward<TSelf>(src))
- {
- }
-
+ {
+ }
+
template <class TIter>
inline TVector(TIter first, TIter last)
: TBase(first, last)
@@ -87,12 +87,12 @@ public:
TBase::operator=(src);
return *this;
}
-
- inline TSelf& operator=(TSelf&& src) noexcept {
+
+ inline TSelf& operator=(TSelf&& src) noexcept {
TBase::operator=(std::forward<TSelf>(src));
- return *this;
- }
-
+ return *this;
+ }
+
inline TSelf& operator=(std::initializer_list<T> il) {
this->assign(il.begin(), il.end());
return *this;