diff options
author | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-03-08 00:27:37 +0000 |
---|---|---|
committer | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-03-08 00:27:37 +0000 |
commit | ca17dab12ad7d2d32febfe18593a3f0fc70fa0a9 (patch) | |
tree | 90fc44f3d7dbb7d1383b04a4b1ee419b0906baf6 /libstdc++-v3 | |
parent | ed5a6548811df75ae2ca8b4c2b477f342cf1b86d (diff) | |
download | gcc-ca17dab12ad7d2d32febfe18593a3f0fc70fa0a9.tar.gz |
2004-03-08 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/allocator.h: Switch defaults to mt_alloc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@79084 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/ChangeLog | 4 | ||||
-rw-r--r-- | libstdc++-v3/include/bits/allocator.h | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 36decc1b2a8..ae22e7c8cfc 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2004-03-08 Benjamin Kosnik <bkoz@redhat.com> + + * include/bits/allocator.h: Switch defaults to mt_alloc. + 2004-03-06 Benjamin Kosnik <bkoz@redhat.com> * 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 eca50c84edc..a831232b3c2 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 <ext/new_allocator.h> -#define __glibcxx_default_allocator __gnu_cxx::new_allocator +//#include <ext/new_allocator.h> +//#define __glibcxx_default_allocator __gnu_cxx::new_allocator -//#include <ext/mt_allocator.h> -//#define __glibcxx_default_allocator __gnu_cxx::__mt_alloc +#include <ext/mt_allocator.h> +#define __glibcxx_default_allocator __gnu_cxx::__mt_alloc namespace std { |