You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2002/10/10 15:23:04 UTC
DO NOT REPLY [Bug 13493] New: -
Use const on static data in DOMWriterImpl.cpp
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13493>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13493
Use const on static data in DOMWriterImpl.cpp
Summary: Use const on static data in DOMWriterImpl.cpp
Product: Xerces-C++
Version: Nightly build (please specify the date)
Platform: All
OS/Version: All
Status: NEW
Severity: Minor
Priority: Other
Component: Utilities
AssignedTo: xerces-c-dev@xml.apache.org
ReportedBy: dgohman@earthlink.net
featuresSupported should be an array of const bool instead of just bool.
// the first for "true",
// the second for "false".
//
-static bool featuresSupported[] = {
+static bool const featuresSupported[] = {
false, true, // canonical-form
true, true, // discard-default-content
true, true, // entity
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org