aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/memory/range.h
diff options
context:
space:
mode:
authormax42 <max42@yandex-team.ru>2022-02-10 16:47:51 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:51 +0300
commit9988f7c537b40605e1a0aaae2977d5f540425b83 (patch)
treea4f3497f66e2dcd82d0f7ae7573acd1320d1bc78 /library/cpp/yt/memory/range.h
parent0a579de32b745908473b2cea7c5cd5540bc801f0 (diff)
downloadydb-9988f7c537b40605e1a0aaae2977d5f540425b83.tar.gz
Restoring authorship annotation for <max42@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/yt/memory/range.h')
-rw-r--r--library/cpp/yt/memory/range.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/library/cpp/yt/memory/range.h b/library/cpp/yt/memory/range.h
index 6c71aa9496..52bd649344 100644
--- a/library/cpp/yt/memory/range.h
+++ b/library/cpp/yt/memory/range.h
@@ -527,19 +527,19 @@ struct TIsPod<TMutableRange<T>>
} // namespace NYT
-template <class T>
-struct hash<NYT::TRange<T>>
-{
- size_t operator()(const NYT::TRange<T>& range) const
- {
- size_t result = 0;
- for (const auto& element : range) {
- NYT::HashCombine(result, element);
- }
- return result;
- }
-};
-
+template <class T>
+struct hash<NYT::TRange<T>>
+{
+ size_t operator()(const NYT::TRange<T>& range) const
+ {
+ size_t result = 0;
+ for (const auto& element : range) {
+ NYT::HashCombine(result, element);
+ }
+ return result;
+ }
+};
+
template <class T>
struct hash<NYT::TMutableRange<T>>
{
@@ -552,5 +552,5 @@ struct hash<NYT::TMutableRange<T>>
return result;
}
};
-
+