aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/deprecated/accessors
diff options
context:
space:
mode:
authorspacelord <spacelord@yandex-team.ru>2022-02-10 16:48:15 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:15 +0300
commit16747e4f77455cca4932df21eb76f12cb0a97a5c (patch)
tree4dd6da4102d99d0d69dec53c1050d290a850a9f2 /library/cpp/deprecated/accessors
parenta817f5de12611ec73085eba17f8ec7740a46bdb7 (diff)
downloadydb-16747e4f77455cca4932df21eb76f12cb0a97a5c.tar.gz
Restoring authorship annotation for <spacelord@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/deprecated/accessors')
-rw-r--r--library/cpp/deprecated/accessors/accessors_impl.h12
-rw-r--r--library/cpp/deprecated/accessors/memory_traits.h14
2 files changed, 13 insertions, 13 deletions
diff --git a/library/cpp/deprecated/accessors/accessors_impl.h b/library/cpp/deprecated/accessors/accessors_impl.h
index 6b2b987351..63b0fc6783 100644
--- a/library/cpp/deprecated/accessors/accessors_impl.h
+++ b/library/cpp/deprecated/accessors/accessors_impl.h
@@ -16,7 +16,7 @@ namespace NAccessors {
template <typename Ta>
struct TBegin: public TMemoryAccessorBase<Ta> {
- using TElementType = typename TMemoryTraits<Ta>::TElementType;
+ using TElementType = typename TMemoryTraits<Ta>::TElementType;
template <typename Tb>
struct TNoMemoryIndirectionBegin {
@@ -57,7 +57,7 @@ namespace NAccessors {
std::conditional_t<
TMemoryAccessorBase<Ta>::ContinuousMemory,
TIndirectMemoryRegionBegin<Ta>,
- typename TMemoryAccessorBase<Ta>::TBadAccessor>>;
+ typename TMemoryAccessorBase<Ta>::TBadAccessor>>;
static const TElementType* Get(const Ta& b) {
return TGet::Get(b);
@@ -66,7 +66,7 @@ namespace NAccessors {
template <typename Ta>
struct TEnd: public TMemoryAccessorBase<Ta> {
- using TElementType = typename TMemoryTraits<Ta>::TElementType;
+ using TElementType = typename TMemoryTraits<Ta>::TElementType;
template <typename Tb>
struct TNoMemoryIndirectionEnd {
@@ -107,7 +107,7 @@ namespace NAccessors {
std::conditional_t<
TMemoryAccessorBase<Ta>::ContinuousMemory,
TIndirectMemoryRegionEnd<Ta>,
- typename TMemoryAccessorBase<Ta>::TBadAccessor>>;
+ typename TMemoryAccessorBase<Ta>::TBadAccessor>>;
static const TElementType* Get(const Ta& b) {
return TGet::Get(b);
@@ -345,7 +345,7 @@ namespace NAccessors {
template <typename Ta>
struct TAssign: public TMemoryAccessorBase<Ta> {
- using TElementType = typename TMemoryTraits<Ta>::TElementType;
+ using TElementType = typename TMemoryTraits<Ta>::TElementType;
template <typename Tb>
struct TNoMemoryIndirectionAssign {
@@ -403,7 +403,7 @@ namespace NAccessors {
std::conditional_t<
TMemoryTraits<Tb>::OwnsMemory,
TByClearAppend<Tb>,
- TByConstruction<Tb>>>>;
+ TByConstruction<Tb>>>>;
static void Do(Tb& b, const TElementType* beg, const TElementType* end) {
TDo::Do(b, beg, end);
diff --git a/library/cpp/deprecated/accessors/memory_traits.h b/library/cpp/deprecated/accessors/memory_traits.h
index aa837705d3..3905728676 100644
--- a/library/cpp/deprecated/accessors/memory_traits.h
+++ b/library/cpp/deprecated/accessors/memory_traits.h
@@ -21,7 +21,7 @@ struct TMemoryTraits {
OwnsMemory = SimpleMemory,
};
- using TElementType = T;
+ using TElementType = T;
};
template <typename T, size_t n>
@@ -32,7 +32,7 @@ struct TMemoryTraits<T[n]> {
OwnsMemory = SimpleMemory,
};
- using TElementType = T;
+ using TElementType = T;
};
template <typename T, size_t n>
@@ -43,7 +43,7 @@ struct TMemoryTraits<std::array<T, n>> {
OwnsMemory = SimpleMemory,
};
- using TElementType = T;
+ using TElementType = T;
};
template <typename A, typename B>
@@ -65,7 +65,7 @@ struct TMemoryTraits<TBuffer> {
OwnsMemory = true,
};
- using TElementType = char;
+ using TElementType = char;
};
template <>
@@ -76,7 +76,7 @@ struct TMemoryTraits<TTempBuf> {
OwnsMemory = true,
};
- using TElementType = char;
+ using TElementType = char;
};
template <>
@@ -87,7 +87,7 @@ struct TMemoryTraits< ::TBlob> {
OwnsMemory = true,
};
- using TElementType = char;
+ using TElementType = char;
};
template <typename T>
@@ -97,7 +97,7 @@ struct TElementDependentMemoryTraits {
ContinuousMemory = TMemoryTraits<T>::SimpleMemory,
};
- using TElementType = T;
+ using TElementType = T;
};
template <typename T, typename TAlloc>