diff options
| -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 { |
