Skip to content
Snippets Groups Projects
Commit 143e4e8a authored by PeiYong Zhang's avatar PeiYong Zhang
Browse files

Bug#13213: DOMImplementation::hasFeature() should be const

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@174294 13f79535-47bb-0310-9956-ffa450edef68
parent 0aa174cf
No related branches found
No related tags found
No related merge requests found
......@@ -122,7 +122,7 @@ public:
* specified version, <code>false</code> otherwise.
* @since DOM Level 1
*/
virtual bool hasFeature(const XMLCh *feature, const XMLCh *version) = 0;
virtual bool hasFeature(const XMLCh *feature, const XMLCh *version) const = 0;
//@}
// -----------------------------------------------------------------------
......
......@@ -143,7 +143,7 @@ DOMImplementationImpl *DOMImplementationImpl::getDOMImplementationImpl() {
// ------------------------------------------------------------
// DOMImplementation Virtual interface
// ------------------------------------------------------------
bool DOMImplementationImpl::hasFeature(const XMLCh * feature, const XMLCh * version)
bool DOMImplementationImpl::hasFeature(const XMLCh * feature, const XMLCh * version) const
{
if (!feature)
return false;
......
......@@ -87,7 +87,7 @@ public:
// ------------------------------------------------------------
// DOMImplementation Virtual interface
// ------------------------------------------------------------
virtual bool hasFeature(const XMLCh * feature, const XMLCh * version);
virtual bool hasFeature(const XMLCh * feature, const XMLCh * version) const;
// Introduced in DOM Level 2
virtual DOMDocumentType* createDocumentType(const XMLCh *qualifiedName,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment