From 31e4934b93985c112e333e4fa6000f0768f8e1fa Mon Sep 17 00:00:00 2001 From: Tinny Ng <tng@apache.org> Date: Tue, 25 Feb 2003 16:07:37 +0000 Subject: [PATCH] [Bug 13493] Use const on static data in DOMWriterImpl.cpp. git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@174803 13f79535-47bb-0310-9956-ffa450edef68 --- src/xercesc/dom/impl/DOMWriterImpl.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/xercesc/dom/impl/DOMWriterImpl.cpp b/src/xercesc/dom/impl/DOMWriterImpl.cpp index b203ae4d7..1d587dde6 100644 --- a/src/xercesc/dom/impl/DOMWriterImpl.cpp +++ b/src/xercesc/dom/impl/DOMWriterImpl.cpp @@ -57,6 +57,9 @@ /* * $Id$ * $Log$ + * Revision 1.30 2003/02/25 16:07:37 tng + * [Bug 13493] Use const on static data in DOMWriterImpl.cpp. + * * Revision 1.29 2003/01/28 18:31:47 peiyongz * Bug#13694: Allow Xerces to write the BOM to XML files * @@ -203,7 +206,7 @@ static const int BYTE_ORDER_MARK_ID = 0x8; // the first for "true", // the second for "false". // -static bool featuresSupported[] = { +static const bool featuresSupported[] = { false, true, // canonical-form true, true, // discard-default-content true, true, // entity -- GitLab