summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-08-28 14:59:41 +0000
committerMoonchild <moonchild@palemoon.org>2022-08-28 15:04:19 +0000
commit6d0df6d506c0c8597225449d0a44f55f6bf08985 (patch)
tree773ec68f22602406ce2cdf98fc243c675ab1bde4
parentce11609fe934e522fc207fa9ad657073e3653fa5 (diff)
downloaduxp-6d0df6d506c0c8597225449d0a44f55f6bf08985.tar.gz
Issue #1956 - Fix C++ code standard conformance issue in StoreBuffer.h
-rw-r--r--js/src/gc/StoreBuffer.h2
1 files changed, 1 insertions, 1 deletions
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; }