diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2004-03-08 00:27:37 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2004-03-08 00:27:37 +0000 |
commit | f5fb3886b2d7b99a5c06f66854262a325f2e9361 (patch) | |
tree | 90fc44f3d7dbb7d1383b04a4b1ee419b0906baf6 /libstdc++-v3 | |
parent | 3bf92dad698fcce05a3a0c3d954881f3ab2487b2 (diff) | |
download | gcc-f5fb3886b2d7b99a5c06f66854262a325f2e9361.zip gcc-f5fb3886b2d7b99a5c06f66854262a325f2e9361.tar.gz gcc-f5fb3886b2d7b99a5c06f66854262a325f2e9361.tar.bz2 |
allocator.h: Switch defaults to mt_alloc.
2004-03-08 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/allocator.h: Switch defaults to mt_alloc.
From-SVN: r79084
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 36decc1..ae22e7c 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 eca50c8..a831232 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 { |