[gjs/mozjs78: 33/50] Remove some forward declarations. - Forward declaring 'mozilla::DefaultHasher' causes signature conf




commit d5d6d283774cd6cc85826149509176d556202d6a
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 a683d8d5..e11c6a81 100644
--- a/gi/boxed.h
+++ b/gi/boxed.h
@@ -51,10 +51,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 ef8f28b6..264cfc71 100644
--- a/gjs/context-private.h
+++ b/gjs/context-private.h
@@ -49,10 +49,6 @@
 #include "gjs/macros.h"
 #include "gjs/profiler.h"
 
-namespace mozilla {
-template <class Key>
-struct DefaultHasher;
-}
 namespace js {
 class SystemAllocPolicy;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]