You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@locus.apache.org on 2000/05/01 18:03:43 UTC
cvs commit: xml-xalan/c/src/XPath XPathEnvSupportDefault.cpp
dbertoni 00/05/01 09:03:43
Modified: c/src/XPath XPathEnvSupportDefault.cpp
Log:
Fixed problem with non-const iterators.
Revision Changes Path
1.9 +4 -4 xml-xalan/c/src/XPath/XPathEnvSupportDefault.cpp
Index: XPathEnvSupportDefault.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XPath/XPathEnvSupportDefault.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- XPathEnvSupportDefault.cpp 2000/05/01 15:11:42 1.8
+++ XPathEnvSupportDefault.cpp 2000/05/01 16:03:42 1.9
@@ -329,14 +329,14 @@
bool theResult = false;
// See if there's a table for that namespace...
- const NamespaceFunctionTablesType::iterator i =
+ const NamespaceFunctionTablesType::const_iterator i =
m_externalFunctions.find(theNamespace);
if (i != m_externalFunctions.end())
{
// There is a table for the namespace,
// so look for the function...
- const FunctionTableType::iterator j =
+ const FunctionTableType::const_iterator j =
i->second.find(extensionName);
if (j != i->second.end())
@@ -384,14 +384,14 @@
Function* theFunction = 0;
// See if there's a table for that namespace...
- const NamespaceFunctionTablesType::iterator i =
+ const NamespaceFunctionTablesType::const_iterator i =
theTable.find(theNamespace);
if (i != theTable.end())
{
// There is a table for the namespace,
// so look for the function...
- const FunctionTableType::iterator j =
+ const FunctionTableType::const_iterator j =
i->second.find(extensionName);
if (j != i->second.end())