aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/strbase.h
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 /util/generic/strbase.h
parenta817f5de12611ec73085eba17f8ec7740a46bdb7 (diff)
downloadydb-16747e4f77455cca4932df21eb76f12cb0a97a5c.tar.gz
Restoring authorship annotation for <spacelord@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/generic/strbase.h')
-rw-r--r--util/generic/strbase.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/util/generic/strbase.h b/util/generic/strbase.h
index ab39fc7537..988600b51a 100644
--- a/util/generic/strbase.h
+++ b/util/generic/strbase.h
@@ -40,15 +40,15 @@ class TStringBase {
using TStringViewWithTraits = std::basic_string_view<TCharType, TTraitsType>;
public:
- using TChar = TCharType;
- using TTraits = TTraitsType;
- using TSelf = TStringBase<TDerived, TChar, TTraits>;
+ using TChar = TCharType;
+ using TTraits = TTraitsType;
+ using TSelf = TStringBase<TDerived, TChar, TTraits>;
- using size_type = size_t;
+ using size_type = size_t;
using difference_type = ptrdiff_t;
static constexpr size_t npos = size_t(-1);
- using const_iterator = const TCharType*;
+ using const_iterator = const TCharType*;
using const_reference = const TCharType&;
template <typename TBase>
@@ -579,7 +579,7 @@ public:
}
private:
- using GenericFinder = const TCharType* (*)(const TCharType*, size_t, const TCharType*, size_t);
+ using GenericFinder = const TCharType* (*)(const TCharType*, size_t, const TCharType*, size_t);
TStringViewWithTraits AsStringView() const {
return static_cast<TStringViewWithTraits>(*this);