aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/vector.h
diff options
context:
space:
mode:
authorIlnur Khuziev <ilnur.khuziev@yandex.ru>2022-02-10 16:46:13 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:13 +0300
commit736dcd8ca259457a136f2f9f9168c44643914323 (patch)
treeddd46a036d68bfa83aa11b892f31243ea6b068a1 /util/generic/vector.h
parent9bf2fa2b060c9881d3135c2208c624a1dd546ecc (diff)
downloadydb-736dcd8ca259457a136f2f9f9168c44643914323.tar.gz
Restoring authorship annotation for Ilnur Khuziev <ilnur.khuziev@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'util/generic/vector.h')
-rw-r--r--util/generic/vector.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/util/generic/vector.h b/util/generic/vector.h
index a5b258955a..935e9c0c59 100644
--- a/util/generic/vector.h
+++ b/util/generic/vector.h
@@ -1,7 +1,7 @@
#pragma once
#include "fwd.h"
-#include "reserve.h"
+#include "reserve.h"
#include <util/memory/alloc.h>
@@ -26,17 +26,17 @@ public:
}
inline explicit TVector(::NDetail::TReserveTag rt)
- : TBase()
- {
- this->reserve(rt.Capacity);
- }
-
+ : TBase()
+ {
+ this->reserve(rt.Capacity);
+ }
+
inline explicit TVector(::NDetail::TReserveTag rt, const typename TBase::allocator_type& a)
- : TBase(a)
- {
- this->reserve(rt.Capacity);
- }
-
+ : TBase(a)
+ {
+ this->reserve(rt.Capacity);
+ }
+
inline explicit TVector(size_type count)
: TBase(count)
{
@@ -103,9 +103,9 @@ public:
}
Y_PURE_FUNCTION inline bool empty() const noexcept {
- return TBase::empty();
- }
-
+ return TBase::empty();
+ }
+
inline yssize_t ysize() const noexcept {
return (yssize_t)TBase::size();
}