You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2001/12/07 22:35:49 UTC

cvs commit: xml-xalan/c/src/Include XalanAutoPtr.hpp

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: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org