dbertoni    01/07/26 22:40:13

  Modified:    c/src/XSLT XalanTemplate.cpp
  Log:
  More definitions for AIX.
  
  Revision  Changes    Path
  1.29      +25 -18    xml-xalan/c/src/XSLT/XalanTemplate.cpp
  
  Index: XalanTemplate.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XSLT/XalanTemplate.cpp,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- XalanTemplate.cpp 2001/07/21 05:36:07     1.28
  +++ XalanTemplate.cpp 2001/07/27 05:40:13     1.29
  @@ -582,25 +582,32 @@
   
                typedef MutableNodeRefList::addNodeInDocOrderFunctor    
addNodeInDocOrderFunctor;
   
  -             MutableNodeRefList                              theList;
  -             NodeRefList::NodeListVectorType theVector;
  +             {
  +                     NodeRefList::NodeListVectorType theVector;
   
  -             copy(
  -                     nodelist.m_nodeList.rbegin(),
  -                     nodelist.m_nodeList.rend(),
  -                     back_inserter(m_nodeList));
  -
  -             addNodeInDocOrderFunctor        theFunctor(theList, 
executionContext)
  -
  -             for_each(
  -                     theVector.begin(),
  -                     theVector.end(),
  -                     theFunctor);
  -
  -             for_each(
  -                     nodelist.m_nodeList.rbegin(),
  -                     nodelist.m_nodeList.rend(),
  -                     theFunctor);
  +                     copy(
  +                             theVector.rbegin(),
  +                             theVector.rend(),
  +                             back_inserter(theVector));
  +             }
  +
  +             {
  +                     MutableNodeRefList      theList;
  +
  +                     MutableNodeRefList::addNodeInDocOrderFunctor    
theFunctor(theList, theExecutionContext);
  +
  +                     const NodeRefList::NodeListVectorType   theConstVector;
  +
  +                     for_each(
  +                             theConstVector.begin(),
  +                             theConstVector.end(),
  +                             theFunctor);
  +
  +                     for_each(
  +                             theConstVector.rbegin(),
  +                             theConstVector.rend(),
  +                             theFunctor);
  +             }
        }
   
        {
  
  
  

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

Reply via email to