aboutsummaryrefslogtreecommitdiffstats
path: root/util/str_stl.h
diff options
context:
space:
mode:
authorleo <leo@yandex-team.ru>2022-02-10 16:46:40 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:40 +0300
commit99609724f661f7e21d1cb08e8d80e87c3632fdb3 (patch)
tree49e222ea1c5804306084bb3ae065bb702625360f /util/str_stl.h
parent980edcd3304699edf9d4e4d6a656e585028e2a72 (diff)
downloadydb-99609724f661f7e21d1cb08e8d80e87c3632fdb3.tar.gz
Restoring authorship annotation for <leo@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/str_stl.h')
-rw-r--r--util/str_stl.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/util/str_stl.h b/util/str_stl.h
index 3e7f61e551..f1e137181d 100644
--- a/util/str_stl.h
+++ b/util/str_stl.h
@@ -59,8 +59,8 @@ namespace NHashPrivate {
template <class T>
struct hash: public NHashPrivate::THashHelper<T, std::is_scalar<T>::value && !std::is_integral<T>::value> {
-};
-
+};
+
template <typename T>
struct hash<const T*> {
inline size_t operator()(const T* t) const noexcept {
@@ -76,11 +76,11 @@ template <>
struct hash<const char*>: ::NHashPrivate::TStringHash<char> {
};
-template <>
+template <>
struct THash<TStringBuf>: ::NHashPrivate::TStringHash<char> {
};
-template <>
+template <>
struct hash<TString>: ::NHashPrivate::TStringHash<char> {
};
@@ -236,7 +236,7 @@ struct TCIEqualTo<TString> {
template <class T>
struct TLess: public std::less<T> {
};
-
+
template <>
struct TLess<TString>: public TLess<TStringBuf> {
using is_transparent = void;