aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/strbase.h
diff options
context:
space:
mode:
authordivankov <divankov@yandex-team.ru>2022-02-10 16:48:05 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:05 +0300
commitcd88d7933255d8690da34c7b1f7427cf2bb3ae23 (patch)
tree39e40694c8b41674a17b90f034e31d7cfcf20142 /util/generic/strbase.h
parent37a2795395ba606e239b750ff2afb17905274ec4 (diff)
downloadydb-cd88d7933255d8690da34c7b1f7427cf2bb3ae23.tar.gz
Restoring authorship annotation for <divankov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/generic/strbase.h')
-rw-r--r--util/generic/strbase.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/generic/strbase.h b/util/generic/strbase.h
index ab39fc7537..44a514aa55 100644
--- a/util/generic/strbase.h
+++ b/util/generic/strbase.h
@@ -343,7 +343,7 @@ public:
friend bool operator==(const TCharType* pc, const TSelf& s) noexcept {
return equal(pc, s);
}
-
+
template <typename TDerived2, typename TTraits2>
friend bool operator!=(const TSelf& s1, const TStringBase<TDerived2, TChar, TTraits2>& s2) noexcept {
return !(s1 == s2);
@@ -366,7 +366,7 @@ public:
friend bool operator<(const TSelf& s1, const TStringBase<TDerived2, TChar, TTraits2>& s2) noexcept {
return compare(s1, s2) < 0;
}
-
+
friend bool operator<(const TSelf& s1, TStringView s2) noexcept {
return compare(s1, s2) < 0;
}