Hashes on dualkey map need to be also const

This commit is contained in:
2026-01-28 13:47:07 +02:00
parent 3840276f1a
commit c1637a2a2e

View File

@@ -200,8 +200,8 @@ private:
firstKey(std::move(firstKey)), secondKey(std::move(secondKey)), firstKey(std::move(firstKey)), secondKey(std::move(secondKey)),
value(std::move(value)) {} value(std::move(value)) {}
std::size_t firstKeyHash = 0; const std::size_t firstKeyHash;
std::size_t secondKeyHash = 0; const std::size_t secondKeyHash;
const AKey firstKey; const AKey firstKey;
const BKey secondKey; const BKey secondKey;
mutable Value value; mutable Value value;