diff options
author | gleb-kov <gleb-kov@yandex-team.ru> | 2022-02-10 16:46:22 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:22 +0300 |
commit | 7b1cfa32681104c8468c5824c79fd80d9a88a579 (patch) | |
tree | 499e0a6e0f35aba718ac262605efb4342996bdca /util/str_stl.h | |
parent | 89973d10cfeccd97d2f25449a523c93940565edf (diff) | |
download | ydb-7b1cfa32681104c8468c5824c79fd80d9a88a579.tar.gz |
Restoring authorship annotation for <gleb-kov@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/str_stl.h')
-rw-r--r-- | util/str_stl.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/util/str_stl.h b/util/str_stl.h index f1e137181d..dbd6abf67e 100644 --- a/util/str_stl.h +++ b/util/str_stl.h @@ -7,8 +7,8 @@ #include <util/generic/strbuf.h> #include <util/generic/typetraits.h> -#include <functional> -#include <typeindex> +#include <functional> +#include <typeindex> #include <utility> namespace std { @@ -104,13 +104,13 @@ template <class C, class T, class A> struct hash<std::basic_string<C, T, A>>: ::NHashPrivate::TStringHash<C> { }; -template <> -struct THash<std::type_index> { - inline size_t operator()(const std::type_index& index) const { - return index.hash_code(); - } -}; - +template <> +struct THash<std::type_index> { + inline size_t operator()(const std::type_index& index) const { + return index.hash_code(); + } +}; + namespace NHashPrivate { template <typename T> Y_FORCE_INLINE static size_t HashObject(const T& val) { |