diff options
author | babenko <babenko@yandex-team.com> | 2024-02-09 23:45:37 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@ydb.tech> | 2024-02-14 14:25:27 +0000 |
commit | f80a3188a4bf460d4877826bb5508e5f1c227dec (patch) | |
tree | d2f19df718d50f600461ada840cda2e38c109445 /util | |
parent | 94f19e2b2a5e17ea5ebe17910526b7929964fecf (diff) | |
download | ydb-f80a3188a4bf460d4877826bb5508e5f1c227dec.tar.gz |
Annotate CombineHashes with nodiscard
Diffstat (limited to 'util')
-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; } |