You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by tn...@apache.org on 2002/09/05 18:06:41 UTC
cvs commit: xml-xerces/c/src/xercesc/util QName.cpp QName.hpp
tng 2002/09/05 09:06:41
Modified: c/src/xercesc/util QName.cpp QName.hpp
Log:
[Bug 12232] Make operator to be constant.
Revision Changes Path
1.3 +4 -1 xml-xerces/c/src/xercesc/util/QName.cpp
Index: QName.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/QName.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- QName.cpp 2 Apr 2002 15:31:48 -0000 1.2
+++ QName.cpp 5 Sep 2002 16:06:41 -0000 1.3
@@ -56,6 +56,9 @@
/*
* $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
* Modiy QName comparison (operator=).
*
@@ -415,7 +418,7 @@
// -----------------------------------------------------------------------
// comparison
// -----------------------------------------------------------------------
-bool QName::operator==(const QName& qname)
+bool QName::operator==(const QName& qname) const
{
if (fURIId == 0) // null URI
return (XMLString::compareString(getRawName(),qname.getRawName())==0);
1.3 +4 -1 xml-xerces/c/src/xercesc/util/QName.hpp
Index: QName.hpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/QName.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- QName.hpp 20 Aug 2002 16:54:25 -0000 1.2
+++ QName.hpp 5 Sep 2002 16:06:41 -0000 1.3
@@ -56,6 +56,9 @@
/*
* $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
* [Bug 6251] Info during compilation.
*
@@ -166,7 +169,7 @@
// -----------------------------------------------------------------------
// comparison
// -----------------------------------------------------------------------
- bool operator==(const QName&);
+ bool operator==(const QName&) const;
// -----------------------------------------------------------------------
// Misc
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org