From 0df819c5d98fed7d7b348f2d4c24c53daecb36b2 Mon Sep 17 00:00:00 2001 From: "mcmullen%netscape.com" Date: Fri, 26 Mar 1999 23:59:35 +0000 Subject: [PATCH] Made mList static. --- xpfe/AppCores/src/nsAppCoresManager.cpp | 4 +++- xpfe/AppCores/src/nsAppCoresManager.h | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/xpfe/AppCores/src/nsAppCoresManager.cpp b/xpfe/AppCores/src/nsAppCoresManager.cpp index 0da5903eff79..731489977d5d 100644 --- a/xpfe/AppCores/src/nsAppCoresManager.cpp +++ b/xpfe/AppCores/src/nsAppCoresManager.cpp @@ -18,10 +18,10 @@ * Netscape Communications Corporation. All Rights Reserved. */ +#include "nsAppCoresManager.h" #include "nsAppCoresCIDs.h" #include "nsAppCores.h" -#include "nsAppCoresManager.h" #include "nsAppCoresNameSet.h" #include "nscore.h" @@ -92,6 +92,8 @@ static NS_DEFINE_IID(kMailCoreFactoryCID, NS_MAILCOREFACTORY_CID); // nsAppCoresManager ///////////////////////////////////////////////////////////////////////// +nsVoidArray nsAppCoresManager::mList; + nsAppCoresManager::nsAppCoresManager() { mScriptObject = nsnull; diff --git a/xpfe/AppCores/src/nsAppCoresManager.h b/xpfe/AppCores/src/nsAppCoresManager.h index c03cbdd0d3d9..5e1829f8f975 100644 --- a/xpfe/AppCores/src/nsAppCoresManager.h +++ b/xpfe/AppCores/src/nsAppCoresManager.h @@ -56,7 +56,7 @@ class nsAppCoresManager : public nsIScriptObjectOwner, public nsIDOMAppCoresMana private: void *mScriptObject; - nsVoidArray mList; + static nsVoidArray mList; };