Bug 623126 - Add constructor for nsDebugImpl, nsTraceRefcntImpl, EmptyEnumeratorImpl, and nsSimpleUnicharStreamFactory to placate CLang; r=bsmedberg

This commit is contained in:
Rafael Ávila de Espíndola 2011-03-24 19:26:55 -04:00
parent d902fada99
commit 4b8cd0c2c8
4 changed files with 4 additions and 0 deletions

View File

@ -40,6 +40,7 @@
class nsDebugImpl : public nsIDebug2
{
public:
nsDebugImpl() {}
NS_DECL_ISUPPORTS
NS_DECL_NSIDEBUG
NS_DECL_NSIDEBUG2

View File

@ -44,6 +44,7 @@
class nsTraceRefcntImpl : public nsITraceRefcnt
{
public:
nsTraceRefcntImpl() {}
NS_DECL_ISUPPORTS
NS_DECL_NSITRACEREFCNT

View File

@ -52,6 +52,7 @@ class EmptyEnumeratorImpl : public nsISimpleEnumerator,
public nsIStringEnumerator
{
public:
EmptyEnumeratorImpl() {}
// nsISupports interface
NS_DECL_ISUPPORTS_INHERITED // not really inherited, but no mRefCnt

View File

@ -51,6 +51,7 @@ class nsSimpleUnicharStreamFactory :
private nsISimpleUnicharStreamFactory
{
public:
nsSimpleUnicharStreamFactory() {}
NS_DECL_ISUPPORTS_INHERITED
NS_DECL_NSIFACTORY
NS_DECL_NSISIMPLEUNICHARSTREAMFACTORY