dbertoni    01/12/07 13:35:49

  Modified:    c/src/Include XalanAutoPtr.hpp
  Log:
  Fix for conformant compilers where size_t is in namespace std.
  
  Revision  Changes    Path
  1.5       +4 -0      xml-xalan/c/src/Include/XalanAutoPtr.hpp
  
  Index: XalanAutoPtr.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/Include/XalanAutoPtr.hpp,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- XalanAutoPtr.hpp  2001/09/25 21:13:30     1.4
  +++ XalanAutoPtr.hpp  2001/12/07 21:35:49     1.5
  @@ -214,7 +214,11 @@
        }
   
        Type&
  +#if defined(XALAN_SIZE_T_IN_NAMESPACE_STD)
  +     operator[](std::size_t  index) const
  +#else
        operator[](size_t       index) const
  +#endif
        {
                return m_pointer[index];
        }
  
  
  

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

Reply via email to