[gjs/mozjs78: 7/21] 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: 7/21] Remove some forward declarations. - Forward declaring 'mozilla::DefaultHasher' causes signature conf
- Date: Sun, 5 Jul 2020 03:35:45 +0000 (UTC)
commit 75d0f8133e0037d0a7e173e72e1fb21f9b83ce0f
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]