summaryrefslogtreecommitdiff
path: root/www/libxul19/files/patch-bug623126
blob: 3e61c89976369a7580b38611002ab25a7cbf38db (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
changeset:   63904:ca41c5663999
user:        Rafael ?vila de Esp?ndola <respindola@mozilla.com>
date:        Thu Mar 24 19:26:55 2011 -0400
summary:     Bug 623126 - Add constructor for nsDebugImpl, nsTraceRefcntImpl, EmptyEnumeratorImpl, and nsSimpleUnicharStreamFactory to placate CLang; r=bsmedberg

diff -r 92b43aa07b7d -r ca41c5663999 xpcom/base/nsDebugImpl.h
--- xpcom/base/nsDebugImpl.h	Thu Mar 24 16:45:07 2011 -0400
+++ xpcom/base/nsDebugImpl.h	Thu Mar 24 19:26:55 2011 -0400
@@ -40,6 +40,7 @@
 class nsDebugImpl : public nsIDebug2
 {
 public:
+    nsDebugImpl() {}
     NS_DECL_ISUPPORTS
     NS_DECL_NSIDEBUG
     NS_DECL_NSIDEBUG2
diff -r 92b43aa07b7d -r ca41c5663999 xpcom/base/nsTraceRefcntImpl.h
--- xpcom/base/nsTraceRefcntImpl.h	Thu Mar 24 16:45:07 2011 -0400
+++ xpcom/base/nsTraceRefcntImpl.h	Thu Mar 24 19:26:55 2011 -0400
@@ -44,6 +44,7 @@
 class nsTraceRefcntImpl : public nsITraceRefcnt
 {
 public:
+  nsTraceRefcntImpl() {}
   NS_DECL_ISUPPORTS
   NS_DECL_NSITRACEREFCNT
 
diff -r 92b43aa07b7d -r ca41c5663999 xpcom/glue/nsEnumeratorUtils.cpp
--- xpcom/glue/nsEnumeratorUtils.cpp	Thu Mar 24 16:45:07 2011 -0400
+++ xpcom/glue/nsEnumeratorUtils.cpp	Thu Mar 24 19:26:55 2011 -0400
@@ -52,6 +52,7 @@
                             public nsIStringEnumerator
 {
 public:
+    EmptyEnumeratorImpl() {}
     // nsISupports interface
     NS_DECL_ISUPPORTS_INHERITED  // not really inherited, but no mRefCnt
 
diff -r 92b43aa07b7d -r ca41c5663999 xpcom/io/nsUnicharInputStream.h
--- xpcom/io/nsUnicharInputStream.h	Thu Mar 24 16:45:07 2011 -0400
+++ xpcom/io/nsUnicharInputStream.h	Thu Mar 24 19:26:55 2011 -0400
@@ -51,6 +51,7 @@
   private nsISimpleUnicharStreamFactory
 {
 public:
+  nsSimpleUnicharStreamFactory() {}
   NS_DECL_ISUPPORTS_INHERITED
   NS_DECL_NSIFACTORY
   NS_DECL_NSISIMPLEUNICHARSTREAMFACTORY