mhoyt       2004/10/14 12:09:28

  Modified:    c/src/xalanc/Include XalanDeque.hpp
  Log:
  Fix to enable build on HPUX/aCC
  
  Revision  Changes    Path
  1.2       +11 -4     xml-xalan/c/src/xalanc/Include/XalanDeque.hpp
  
  Index: XalanDeque.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/xalanc/Include/XalanDeque.hpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- XalanDeque.hpp    14 Oct 2004 03:14:08 -0000      1.1
  +++ XalanDeque.hpp    14 Oct 2004 19:09:28 -0000      1.2
  @@ -98,6 +98,13 @@
           return *this;
       }
   
  +    XalanDequeIterator operator++(int)
  +    {
  +        XalanDequeIterator temp = *this;
  +        ++m_pos;
  +        return temp;
  +    }
  +
       XalanDequeIterator& operator--()
       {   
           --m_pos;
  @@ -199,7 +206,7 @@
           m_memoryManager(memoryManager),
           m_blockSize(blockSize),
           m_blockIndex(memoryManager,
  -                    initialSize / m_blockSize + (initialSize % m_blockSize 
== 0 ? 0 : 1))                    
  +                    initialSize / blockSize + (initialSize % blockSize == 0 
? 0 : 1))                    
       {
           XALAN_STD_QUALIFIER fill_n(XALAN_STD_QUALIFIER back_inserter(*this), 
initialSize, value_type());
       }
  @@ -208,7 +215,7 @@
           m_memoryManager(theRhs.m_memoryManager),
           m_blockSize(theRhs.m_blockSize),
           m_blockIndex(theRhs.m_memoryManager,
  -                    theRhs.size() / m_blockSize + (theRhs.size() % 
m_blockSize == 0 ? 0 : 1))
  +                    theRhs.size() / theRhs.m_blockSize + (theRhs.size() % 
theRhs.m_blockSize == 0 ? 0 : 1))
       {
           XALAN_STD_QUALIFIER copy(theRhs.begin(), theRhs.end(), 
XALAN_STD_QUALIFIER back_inserter(*this));
       }
  @@ -216,7 +223,7 @@
       ~XalanDeque()
       {
           clear();
  -        BlockIndexType::iterator iter = m_freeBlockVector.begin();
  +        typename BlockIndexType::iterator iter = m_freeBlockVector.begin();
   
           while (iter != m_freeBlockVector.end())
           {
  @@ -293,7 +300,7 @@
   
       void clear()
       {
  -        BlockIndexType::iterator iter = m_blockIndex.begin();
  +        typename BlockIndexType::iterator iter = m_blockIndex.begin();
   
           m_freeBlockVector.reserve(m_freeBlockVector.size() + 
m_blockIndex.size());
   
  
  
  

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

Reply via email to