diff options
author | snaury <[email protected]> | 2023-08-17 23:40:45 +0300 |
---|---|---|
committer | snaury <[email protected]> | 2023-08-18 00:16:02 +0300 |
commit | 250dfce28a781a72fc72eec30469d50f1c33e0b6 (patch) | |
tree | c1c89276f411a97227ae2dd052bd2835a8e46ec5 | |
parent | 565853e206674f436ce50526728cb123e6d4848c (diff) |
Fix unexpectedly bad hash function in conflicts cache KIKIMR-19034
-rw-r--r-- | ydb/core/tx/datashard/conflicts_cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/core/tx/datashard/conflicts_cache.h b/ydb/core/tx/datashard/conflicts_cache.h index caebb6953bf..1d4215018fe 100644 --- a/ydb/core/tx/datashard/conflicts_cache.h +++ b/ydb/core/tx/datashard/conflicts_cache.h @@ -43,7 +43,7 @@ class TTableConflictsCache { struct TKeyHash { using is_transparent = void; - bool operator()(TConstArrayRef<TCell> key) const { + size_t operator()(TConstArrayRef<TCell> key) const { return absl::Hash<THashableKey>()(THashableKey{ key }); } }; |