Issue #1956 - Fix C++ code standard conformance issue in StoreBuffer.h

This commit is contained in:
Moonchild 2022-08-28 14:59:41 +00:00 committed by roytam1
commit aedbffe910

View file

@ -332,7 +332,7 @@ class StoreBuffer
explicit operator bool() const { return objectAndKind_ != 0; }
typedef struct {
typedef struct Hasher {
typedef SlotsEdge Lookup;
static HashNumber hash(const Lookup& l) { return l.objectAndKind_ ^ l.start_ ^ l.count_; }
static bool match(const SlotsEdge& k, const Lookup& l) { return k == l; }