Skip to content
Snippets Groups Projects
Commit f6c3f59f authored by Tinny Ng's avatar Tinny Ng
Browse files

[Bug 12232] Make operator to be constant.

git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@174201 13f79535-47bb-0310-9956-ffa450edef68
parent d5a287a2
No related branches found
No related tags found
No related merge requests found
...@@ -56,6 +56,9 @@ ...@@ -56,6 +56,9 @@
/* /*
* $Log$ * $Log$
* Revision 1.3 2002/09/05 16:06:41 tng
* [Bug 12232] Make operator to be constant.
*
* Revision 1.2 2002/04/02 15:31:48 knoaman * Revision 1.2 2002/04/02 15:31:48 knoaman
* Modiy QName comparison (operator=). * Modiy QName comparison (operator=).
* *
...@@ -415,7 +418,7 @@ void QName::setValues(const QName& qname) ...@@ -415,7 +418,7 @@ void QName::setValues(const QName& qname)
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
// comparison // comparison
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
bool QName::operator==(const QName& qname) bool QName::operator==(const QName& qname) const
{ {
if (fURIId == 0) // null URI if (fURIId == 0) // null URI
return (XMLString::compareString(getRawName(),qname.getRawName())==0); return (XMLString::compareString(getRawName(),qname.getRawName())==0);
......
...@@ -56,6 +56,9 @@ ...@@ -56,6 +56,9 @@
/* /*
* $Log$ * $Log$
* Revision 1.3 2002/09/05 16:06:41 tng
* [Bug 12232] Make operator to be constant.
*
* Revision 1.2 2002/08/20 16:54:25 tng * Revision 1.2 2002/08/20 16:54:25 tng
* [Bug 6251] Info during compilation. * [Bug 6251] Info during compilation.
* *
...@@ -166,7 +169,7 @@ public : ...@@ -166,7 +169,7 @@ public :
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
// comparison // comparison
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
bool operator==(const QName&); bool operator==(const QName&) const;
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
// Misc // Misc
......
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