aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/vector.h
diff options
context:
space:
mode:
authorIlnur Khuziev <ilnur.khuziev@yandex.ru>2022-02-10 16:46:14 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:14 +0300
commit60040c91ffe701a84689b2c6310ff845e65cff42 (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/generic/vector.h
parent736dcd8ca259457a136f2f9f9168c44643914323 (diff)
downloadydb-60040c91ffe701a84689b2c6310ff845e65cff42.tar.gz
Restoring authorship annotation for Ilnur Khuziev <ilnur.khuziev@yandex.ru>. Commit 2 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 935e9c0c59..a5b258955a 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();
}