From a36811f74c8367ccb22b1257726fa4d845de462e Mon Sep 17 00:00:00 2001 From: "sfraser%netscape.com" Date: Tue, 5 Apr 2005 22:27:22 +0000 Subject: [PATCH] Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson git-svn-id: svn://10.0.0.236/trunk@171707 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/embedding/components/build/nsEmbeddingModule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/embedding/components/build/nsEmbeddingModule.cpp b/mozilla/embedding/components/build/nsEmbeddingModule.cpp index 938a5f3c741..da44c0f0303 100644 --- a/mozilla/embedding/components/build/nsEmbeddingModule.cpp +++ b/mozilla/embedding/components/build/nsEmbeddingModule.cpp @@ -53,7 +53,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsJSConsoleService) NS_GENERIC_FACTORY_CONSTRUCTOR(nsWebBrowserFind) NS_GENERIC_FACTORY_CONSTRUCTOR(nsWebBrowserPersist) -static nsModuleComponentInfo gComponents[] = { +static const nsModuleComponentInfo gComponents[] = { { "Dialog ParamBlock", NS_DIALOGPARAMBLOCK_CID, NS_DIALOGPARAMBLOCK_CONTRACTID, nsDialogParamBlockConstructor }, { "Prompt Service", NS_PROMPTSERVICE_CID, NS_PROMPTSERVICE_CONTRACTID, nsPromptServiceConstructor },