dbertoni 2005/05/05 20:02:34
Modified: c/src/xalanc/Include XalanVector.hpp
Log:
Fix for Jira issue XALANC-507.
Revision Changes Path
1.14 +3 -12 xml-xalan/c/src/xalanc/Include/XalanVector.hpp
Index: XalanVector.hpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/xalanc/Include/XalanVector.hpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- XalanVector.hpp 5 May 2005 00:34:47 -0000 1.13
+++ XalanVector.hpp 6 May 2005 03:02:34 -0000 1.14
@@ -205,6 +205,7 @@
return theResult;
}
+
XalanVector(
size_type theInsertSize,
const value_type& theData,
@@ -294,6 +295,8 @@
// Since we're using bare pointers for now, we can
// assert this...
assert(theFirst <= theLast);
+ assert(thePosition >= begin());
+ assert(thePosition <= end());
invariants();
@@ -404,18 +407,6 @@
void
insert(
- iterator thePosition,
- iterator theFirst,
- iterator theLast)
- {
- insert(
- thePosition,
- const_iterator(theFirst),
- const_iterator(theLast));
- }
-
- void
- insert(
iterator thePosition,
size_type theCount,
const value_type& theData)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]