Author: amassari
Date: Wed Nov 23 04:53:39 2005
New Revision: 348425
URL: http://svn.apache.org/viewcvs?rev=348425&view=rev
Log:
Removed useless const qualifier for simple type
Modified:
xerces/c/trunk/src/xercesc/validators/common/ContentLeafNameTypeVector.cpp
xerces/c/trunk/src/xercesc/validators/common/ContentLeafNameTypeVector.hpp
Modified:
xerces/c/trunk/src/xercesc/validators/common/ContentLeafNameTypeVector.cpp
URL:
http://svn.apache.org/viewcvs/xerces/c/trunk/src/xercesc/validators/common/ContentLeafNameTypeVector.cpp?rev=348425&r1=348424&r2=348425&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/validators/common/ContentLeafNameTypeVector.cpp
(original)
+++ xerces/c/trunk/src/xercesc/validators/common/ContentLeafNameTypeVector.cpp
Wed Nov 23 04:53:39 2005
@@ -114,7 +114,7 @@
return fLeafNames[pos];
}
-const ContentSpecNode::NodeTypes ContentLeafNameTypeVector::getLeafTypeAt
+ContentSpecNode::NodeTypes ContentLeafNameTypeVector::getLeafTypeAt
(const unsigned int pos) const
{
if (pos >= fLeafCount)
@@ -123,7 +123,7 @@
return fLeafTypes[pos];
}
-const unsigned int ContentLeafNameTypeVector::getLeafCount() const
+unsigned int ContentLeafNameTypeVector::getLeafCount() const
{
return fLeafCount;
}
Modified:
xerces/c/trunk/src/xercesc/validators/common/ContentLeafNameTypeVector.hpp
URL:
http://svn.apache.org/viewcvs/xerces/c/trunk/src/xercesc/validators/common/ContentLeafNameTypeVector.hpp?rev=348425&r1=348424&r2=348425&view=diff
==============================================================================
--- xerces/c/trunk/src/xercesc/validators/common/ContentLeafNameTypeVector.hpp
(original)
+++ xerces/c/trunk/src/xercesc/validators/common/ContentLeafNameTypeVector.hpp
Wed Nov 23 04:53:39 2005
@@ -59,8 +59,8 @@
// -----------------------------------------------------------------------
QName* getLeafNameAt(const unsigned int pos) const;
- const ContentSpecNode::NodeTypes getLeafTypeAt(const unsigned int pos)
const;
- const unsigned int getLeafCount() const;
+ ContentSpecNode::NodeTypes getLeafTypeAt(const unsigned int pos) const;
+ unsigned int getLeafCount() const;
// -----------------------------------------------------------------------
// Setter methods
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]