diff options
author | tender-bum <[email protected]> | 2022-02-10 16:50:01 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:50:01 +0300 |
commit | c78b06a63de7beec995c1007bc5332bdf3d75b69 (patch) | |
tree | 729de992758f40b85278d4abaad655be5dd68dbc /util/generic/variant.h | |
parent | 95ab23a39b5482a434361566cabdd5b0a433cb43 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/generic/variant.h')
-rw-r--r-- | util/generic/variant.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/generic/variant.h b/util/generic/variant.h index 749fc750908..9313f3cfa8d 100644 --- a/util/generic/variant.h +++ b/util/generic/variant.h @@ -13,11 +13,11 @@ public: v.valueless_by_exception() ? 0 : std::visit([](const auto& value) { return ComputeHash(value); }, v)); } }; - -template <> + +template <> struct THash<std::monostate> { -public: +public: constexpr size_t operator()(std::monostate) const noexcept { return 1; } -}; +}; |