[gjs/mozjs78: 9/23] Remove some forward declarations. - Forward declaring 'mozilla::DefaultHasher' causes signature conf
- From: Evan Welsh <ewlsh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs/mozjs78: 9/23] Remove some forward declarations. - Forward declaring 'mozilla::DefaultHasher' causes signature conf
- Date: Sun, 5 Jul 2020 03:40:15 +0000 (UTC)
commit 4aa33ca9ca303e4844276b4cccb31526ca461437
Author: Evan Welsh <noreply evanwelsh com>
Date: Sat Jul 4 22:11:07 2020 -0500
Remove some forward declarations.
- Forward declaring 'mozilla::DefaultHasher' causes signature conflicts.
gi/boxed.h | 4 ----
gjs/context-private.h | 4 ----
2 files changed, 8 deletions(-)
---
diff --git a/gi/boxed.h b/gi/boxed.h
index e69ffe2a..483d98e7 100644
--- a/gi/boxed.h
+++ b/gi/boxed.h
@@ -50,10 +50,6 @@ class CallArgs;
namespace js {
class SystemAllocPolicy;
}
-namespace mozilla {
-template <class Key>
-struct DefaultHasher;
-}
/* To conserve memory, we have two different kinds of private data for GBoxed
* JS wrappers: BoxedInstance, and BoxedPrototype. Both inherit from BoxedBase
diff --git a/gjs/context-private.h b/gjs/context-private.h
index 1b1e5562..fff054a4 100644
--- a/gjs/context-private.h
+++ b/gjs/context-private.h
@@ -50,10 +50,6 @@
#include "gjs/macros.h"
#include "gjs/profiler.h"
-namespace mozilla {
-template <class Key>
-struct DefaultHasher;
-}
class GjsAtoms;
using JobQueueStorage =
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]