From 6d0df6d506c0c8597225449d0a44f55f6bf08985 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Sun, 28 Aug 2022 14:59:41 +0000 Subject: Issue #1956 - Fix C++ code standard conformance issue in StoreBuffer.h --- js/src/gc/StoreBuffer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/gc/StoreBuffer.h b/js/src/gc/StoreBuffer.h index ade111739d..f9158ef9c2 100644 --- a/js/src/gc/StoreBuffer.h +++ b/js/src/gc/StoreBuffer.h @@ -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; } -- cgit v1.2.3