From 0bd9cb7b3e696f98239c7f1259c89fc35b62fa87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20=C3=81vila=20de=20Esp=C3=ADndola?= Date: Thu, 24 Mar 2011 19:26:55 -0400 Subject: [PATCH] Bug 623126 - Add constructor for nsDebugImpl, nsTraceRefcntImpl, EmptyEnumeratorImpl, and nsSimpleUnicharStreamFactory to placate CLang; r=bsmedberg --- xpcom/base/nsDebugImpl.h | 1 + xpcom/base/nsTraceRefcntImpl.h | 1 + xpcom/glue/nsEnumeratorUtils.cpp | 1 + xpcom/io/nsUnicharInputStream.h | 1 + 4 files changed, 4 insertions(+) diff --git a/xpcom/base/nsDebugImpl.h b/xpcom/base/nsDebugImpl.h index 18b9ab3375c5..8ab5cf2f3c44 100644 --- a/xpcom/base/nsDebugImpl.h +++ b/xpcom/base/nsDebugImpl.h @@ -40,6 +40,7 @@ class nsDebugImpl : public nsIDebug2 { public: + nsDebugImpl() {} NS_DECL_ISUPPORTS NS_DECL_NSIDEBUG NS_DECL_NSIDEBUG2 diff --git a/xpcom/base/nsTraceRefcntImpl.h b/xpcom/base/nsTraceRefcntImpl.h index 41b348ba2edb..d7c40ff7ff4e 100644 --- a/xpcom/base/nsTraceRefcntImpl.h +++ b/xpcom/base/nsTraceRefcntImpl.h @@ -44,6 +44,7 @@ class nsTraceRefcntImpl : public nsITraceRefcnt { public: + nsTraceRefcntImpl() {} NS_DECL_ISUPPORTS NS_DECL_NSITRACEREFCNT diff --git a/xpcom/glue/nsEnumeratorUtils.cpp b/xpcom/glue/nsEnumeratorUtils.cpp index b5d915bf5573..80383d7de5a7 100644 --- a/xpcom/glue/nsEnumeratorUtils.cpp +++ b/xpcom/glue/nsEnumeratorUtils.cpp @@ -52,6 +52,7 @@ class EmptyEnumeratorImpl : public nsISimpleEnumerator, public nsIStringEnumerator { public: + EmptyEnumeratorImpl() {} // nsISupports interface NS_DECL_ISUPPORTS_INHERITED // not really inherited, but no mRefCnt diff --git a/xpcom/io/nsUnicharInputStream.h b/xpcom/io/nsUnicharInputStream.h index 1cd6eedcc789..fdeadd5d9475 100644 --- a/xpcom/io/nsUnicharInputStream.h +++ b/xpcom/io/nsUnicharInputStream.h @@ -51,6 +51,7 @@ class nsSimpleUnicharStreamFactory : private nsISimpleUnicharStreamFactory { public: + nsSimpleUnicharStreamFactory() {} NS_DECL_ISUPPORTS_INHERITED NS_DECL_NSIFACTORY NS_DECL_NSISIMPLEUNICHARSTREAMFACTORY