You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by au...@locus.apache.org on 2000/09/20 20:19:23 UTC

cvs commit: xml-xalan/c/src/PlatformSupport DOMStringHelper.cpp

auriemma    00/09/20 11:19:23

  Modified:    c/src/PlatformSupport DOMStringHelper.cpp
  Log:
  Changed call to vector.insert - Linux.
  
  Revision  Changes    Path
  1.34      +4 -1      xml-xalan/c/src/PlatformSupport/DOMStringHelper.cpp
  
  Index: DOMStringHelper.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/DOMStringHelper.cpp,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- DOMStringHelper.cpp	2000/09/19 14:43:22	1.33
  +++ DOMStringHelper.cpp	2000/09/20 18:19:22	1.34
  @@ -1157,7 +1157,10 @@
   			const char*			theString,
   			CharVectorType&		theVector)
   {
  -	theVector.assign(theString, theString + strlen(theString) + 1);
  +	theVector.insert(
  +		theVector.end(),
  +		theString,
  +		theString + strlen(theString) + 1);
   }