tng 2002/07/31 13:38:20
Modified: c/src/xercesc/dom DOMNodeList.hpp
Log:
[Bug 11338] missing const keyword for DOMNodeList methods.
Revision Changes Path
1.5 +3 -3 xml-xerces/c/src/xercesc/dom/DOMNodeList.hpp
Index: DOMNodeList.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/dom/DOMNodeList.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- DOMNodeList.hpp 6 Jun 2002 20:53:06 -0000 1.4
+++ DOMNodeList.hpp 31 Jul 2002 20:38:20 -0000 1.5
@@ -123,7 +123,7 @@
* index.
* @since DOM Level 1
*/
- virtual DOMNode *item(XMLSize_t index) = 0;
+ virtual DOMNode *item(XMLSize_t index) const = 0;
/**
* Returns the number of nodes in the list.
@@ -131,7 +131,7 @@
* The range of valid child node indices is 0 to <code>length-1</code>
inclusive.
* @since DOM Level 1
*/
- virtual XMLSize_t getLength() = 0;
+ virtual XMLSize_t getLength() const = 0;
//@}
};
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]