From: Benjamin Kosnik Date: Mon, 8 Mar 2004 00:27:37 +0000 (+0000) Subject: allocator.h: Switch defaults to mt_alloc. X-Git-Tag: releases/gcc-4.0.0~9556 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f5fb3886b2d7b99a5c06f66854262a325f2e9361;p=thirdparty%2Fgcc.git allocator.h: Switch defaults to mt_alloc. 2004-03-08 Benjamin Kosnik * include/bits/allocator.h: Switch defaults to mt_alloc. From-SVN: r79084 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 36decc1b2a87..ae22e7c8cfc6 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2004-03-08 Benjamin Kosnik + + * include/bits/allocator.h: Switch defaults to mt_alloc. + 2004-03-06 Benjamin Kosnik * include/ext/mt_allocator.h (_S_initialize): If diff --git a/libstdc++-v3/include/bits/allocator.h b/libstdc++-v3/include/bits/allocator.h index eca50c84edcc..a831232b3c2a 100644 --- a/libstdc++-v3/include/bits/allocator.h +++ b/libstdc++-v3/include/bits/allocator.h @@ -50,11 +50,11 @@ // Define the base class to std::allocator. -#include -#define __glibcxx_default_allocator __gnu_cxx::new_allocator +//#include +//#define __glibcxx_default_allocator __gnu_cxx::new_allocator -//#include -//#define __glibcxx_default_allocator __gnu_cxx::__mt_alloc +#include +#define __glibcxx_default_allocator __gnu_cxx::__mt_alloc namespace std {