xalan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbert...@apache.org
Subject cvs commit: xml-xalan/c/src/PlatformSupport ArenaBlock.hpp
Date Wed, 26 Sep 2001 14:10:06 GMT
dbertoni    01/09/26 07:10:06

  Modified:    c/src/PlatformSupport ArenaBlock.hpp
  Log:
  New ifdef for std::allocator.
  
  Revision  Changes    Path
  1.12      +4 -0      xml-xalan/c/src/PlatformSupport/ArenaBlock.hpp
  
  Index: ArenaBlock.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/ArenaBlock.hpp,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- ArenaBlock.hpp	2001/09/25 21:12:51	1.11
  +++ ArenaBlock.hpp	2001/09/26 14:10:06	1.12
  @@ -195,7 +195,11 @@
   			// If no memory has yet been allocated, then allocate it...
   			if (m_objectBlock == 0)
   			{
  +#if defined(XALAN_NEW_STD_ALLOCATOR)
   				m_objectBlock = m_allocator.allocate(m_blockSize);
  +#else
  +				m_objectBlock = m_allocator.allocate(m_blockSize, 0);
  +#endif
   			}
   			assert(m_objectBlock != 0);
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org


Mime
View raw message