From f5fb3886b2d7b99a5c06f66854262a325f2e9361 Mon Sep 17 00:00:00 2001 From: Benjamin Kosnik Date: Mon, 8 Mar 2004 00:27:37 +0000 Subject: [PATCH] allocator.h: Switch defaults to mt_alloc. 2004-03-08 Benjamin Kosnik * include/bits/allocator.h: Switch defaults to mt_alloc. From-SVN: r79084 --- libstdc++-v3/ChangeLog | 4 ++++ 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 + + * 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 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 -#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 { -- 2.30.2