diff options
author | babenko <babenko@yandex-team.com> | 2024-02-09 23:45:37 +0300 |
---|---|---|
committer | babenko <babenko@yandex-team.com> | 2024-02-10 00:01:03 +0300 |
commit | 143b5f45ec9cb2fbe2547dab1c4924cafe04794f (patch) | |
tree | ee79f997b00c50ea6f2cb8572da94c29adf22bd3 | |
parent | 6c9c1fe02057cc471fd2bd59e72688ce6ce572a2 (diff) | |
download | ydb-143b5f45ec9cb2fbe2547dab1c4924cafe04794f.tar.gz |
Annotate CombineHashes with nodiscard
-rw-r--r-- | util/digest/numeric.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/digest/numeric.h b/util/digest/numeric.h index e20bd908e4..1e9c74ebbb 100644 --- a/util/digest/numeric.h +++ b/util/digest/numeric.h @@ -81,6 +81,6 @@ static constexpr size_t NumericHash(T t) noexcept { } template <class T> -static constexpr T CombineHashes(T l, T r) noexcept { +[[nodiscard]] static constexpr T CombineHashes(T l, T r) noexcept { return IntHash(l) ^ r; } |