aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorplato <plato@yandex-team.ru>2022-02-10 16:47:35 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:35 +0300
commit69505a07cbb096113e85aa02e7d136cac4aa826c (patch)
treec0748b5dcbade83af788c0abfa89c0383d6b779c /util
parentc7a40cf248b398bcc12d4b6373effc431153536f (diff)
downloadydb-69505a07cbb096113e85aa02e7d136cac4aa826c.tar.gz
Restoring authorship annotation for <plato@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util')
-rw-r--r--util/generic/maybe.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/generic/maybe.h b/util/generic/maybe.h
index 4c2a616b8c..34d21aebcd 100644
--- a/util/generic/maybe.h
+++ b/util/generic/maybe.h
@@ -479,10 +479,10 @@ void swap(TMaybe<T, TPolicy>& lhs, TMaybe<T, TPolicy>& rhs) {
template <typename T, class TPolicy>
struct THash<TMaybe<T, TPolicy>> {
constexpr size_t operator()(const TMaybe<T, TPolicy>& data) const {
- return (data.Defined()) ? THash<T>()(data.GetRef()) : 42;
- }
-};
-
+ return (data.Defined()) ? THash<T>()(data.GetRef()) : 42;
+ }
+};
+
// Comparisons between TMaybe
template <class T, class TPolicy>
constexpr bool operator==(const ::TMaybe<T, TPolicy>& left, const ::TMaybe<T, TPolicy>& right) {