summaryrefslogtreecommitdiffstats
path: root/util/str_stl.h
diff options
context:
space:
mode:
authorgleb-kov <[email protected]>2022-02-10 16:46:22 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:46:22 +0300
commit918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/str_stl.h
parent7b1cfa32681104c8468c5824c79fd80d9a88a579 (diff)
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/str_stl.h')
-rw-r--r--util/str_stl.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/util/str_stl.h b/util/str_stl.h
index dbd6abf67ea..f1e137181d2 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) {