mt_allocator.h: Replaced all malloc() calls with operator new().
authorStefan Olsson <stefan@snon.net>
Wed, 28 Jan 2004 17:50:34 +0000 (17:50 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Wed, 28 Jan 2004 17:50:34 +0000 (17:50 +0000)
commitf15f99a14e78da7a517a470e502d5d695dfe4ef3
treefb7c47b564019d2ae9f84f47ac6e06cc12c7e7d4
parent796e87a2b0920bc337c275b404abcb9a79fa4a41
mt_allocator.h: Replaced all malloc() calls with operator new().

2004-01-28  Stefan Olsson  <stefan@snon.net>

  * include/ext/mt_allocator.h: Replaced all malloc() calls with
operator new(). Added support for the env variable
GLIBCXX_FORCE_NEW (this required the _S_init call to be the first
one in allocate() as well). Fix typos.

From-SVN: r76795
libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/mt_allocator.h