dbertoni 01/05/02 08:51:27
Modified: c/src/XPath XPathExpression.cpp
Log:
Don't assume that vector::iterator is a pointer.
Revision Changes Path
1.29 +1 -1 xml-xalan/c/src/XPath/XPathExpression.cpp
Index: XPathExpression.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XPath/XPathExpression.cpp,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- XPathExpression.cpp 2001/04/18 14:46:12 1.28
+++ XPathExpression.cpp 2001/05/02 15:51:22 1.29
@@ -467,7 +467,7 @@
assert((*i).second > 0);
// Insert -1 for each element of the opcode.
- m_opMap.insert(&m_opMap[theIndex], (*i).second, -1);
+ m_opMap.insert(m_opMap.begin() + theIndex, (*i).second, -1);
// Set the member that contains the last insert/appended
// index.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]