Hashes on dualkey map need to be also const
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user