dbertoni    01/10/24 07:10:43

  Modified:    c/src/XPath NodeRefList.cpp
  Log:
  Don't use ensureAllocation() in operator=(const NodeRefListBase&).
  
  Revision  Changes    Path
  1.13      +1 -1      xml-xalan/c/src/XPath/NodeRefList.cpp
  
  Index: NodeRefList.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XPath/NodeRefList.cpp,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- NodeRefList.cpp   2001/09/26 20:58:46     1.12
  +++ NodeRefList.cpp   2001/10/24 14:10:43     1.13
  @@ -108,7 +108,7 @@
   
                const size_type         theLength = theRHS.getLength();
   
  -             ensureAllocation(theLength);
  +             m_nodeList.reserve(theLength);
   
                for(size_type i = 0; i < theLength; i++)
                {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to