dbertoni 2002/09/23 14:30:54
Modified: c/src/XSLT StylesheetConstructionContextDefault.cpp
Log:
Cleanup for old IBM compiler.
Revision Changes Path
1.22 +2 -6
xml-xalan/c/src/XSLT/StylesheetConstructionContextDefault.cpp
Index: StylesheetConstructionContextDefault.cpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/XSLT/StylesheetConstructionContextDefault.cpp,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- StylesheetConstructionContextDefault.cpp 21 Sep 2002 05:16:00 -0000
1.21
+++ StylesheetConstructionContextDefault.cpp 23 Sep 2002 21:30:54 -0000
1.22
@@ -568,15 +568,11 @@
const XalanDOMString::size_type theActualLength =
theLength == XalanDOMString::npos ?
XalanDOMString::length(theString) : theLength;
- XalanDOMChar* const theVector =
+ XalanDOMChar* theVector =
m_xalanDOMCharVectorAllocator.allocate(fTerminate == true ?
theActualLength + 1 : theActualLength);
-#if !defined(XALAN_NO_NAMESPACES)
- using std::copy;
-#endif
-
XalanDOMChar* const theEnd =
- copy(theString, theString + theActualLength, theVector);
+ XalanCopy(theString, theString + theActualLength, theVector);
if (fTerminate == true)
{
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]