diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2005-05-24 20:28:55 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2005-05-24 20:28:55 +0000 |
commit | 9b22c09e3c3b849389f7a40e6dadd16e101670dd (patch) | |
tree | c274b19ddc840cdf21f6802ff56b2bf7ee9bb71f | |
parent | bde6c65de1ecc893a1ac83a9d89aeb555359c450 (diff) | |
download | gcc-9b22c09e3c3b849389f7a40e6dadd16e101670dd.zip gcc-9b22c09e3c3b849389f7a40e6dadd16e101670dd.tar.gz gcc-9b22c09e3c3b849389f7a40e6dadd16e101670dd.tar.bz2 |
allocator.h: Change ___glibcxx_base_allocator to __glibcxx_base_allocator.
2005-05-24 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/allocator.h: Change ___glibcxx_base_allocator to
__glibcxx_base_allocator.
* config/allocator/bitmap_allocator_base.h: Same.
* config/allocator/malloc_allocator_base.h: Same.
* config/allocator/mt_allocator_base.h: Same.
* config/allocator/new_allocator_base.h: Same.
* config/allocator/pool_allocator_base.h: Same.
From-SVN: r100111
-rw-r--r-- | libstdc++-v3/ChangeLog | 10 | ||||
-rw-r--r-- | libstdc++-v3/config/allocator/bitmap_allocator_base.h | 4 | ||||
-rw-r--r-- | libstdc++-v3/config/allocator/malloc_allocator_base.h | 4 | ||||
-rw-r--r-- | libstdc++-v3/config/allocator/mt_allocator_base.h | 4 | ||||
-rw-r--r-- | libstdc++-v3/config/allocator/new_allocator_base.h | 4 | ||||
-rw-r--r-- | libstdc++-v3/config/allocator/pool_allocator_base.h | 4 | ||||
-rw-r--r-- | libstdc++-v3/include/bits/allocator.h | 8 |
7 files changed, 24 insertions, 14 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index e39d577..abf35d8 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,13 @@ +2005-05-24 Benjamin Kosnik <bkoz@redhat.com> + + * include/bits/allocator.h: Change ___glibcxx_base_allocator to + __glibcxx_base_allocator. + * config/allocator/bitmap_allocator_base.h: Same. + * config/allocator/malloc_allocator_base.h: Same. + * config/allocator/mt_allocator_base.h: Same. + * config/allocator/new_allocator_base.h: Same. + * config/allocator/pool_allocator_base.h: Same. + 2005-05-24 Jonathan Wakely <redi@gcc.gnu.org> * include/debug/string (class basic_string): Add missing diff --git a/libstdc++-v3/config/allocator/bitmap_allocator_base.h b/libstdc++-v3/config/allocator/bitmap_allocator_base.h index bf84ae0..2a674cf 100644 --- a/libstdc++-v3/config/allocator/bitmap_allocator_base.h +++ b/libstdc++-v3/config/allocator/bitmap_allocator_base.h @@ -1,6 +1,6 @@ // Base to std::allocator -*- C++ -*- -// Copyright (C) 2004 Free Software Foundation, Inc. +// Copyright (C) 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -32,6 +32,6 @@ // Define bitmap_allocator as the base class to std::allocator. #include <ext/bitmap_allocator.h> -#define ___glibcxx_base_allocator __gnu_cxx::bitmap_allocator +#define __glibcxx_base_allocator __gnu_cxx::bitmap_allocator #endif diff --git a/libstdc++-v3/config/allocator/malloc_allocator_base.h b/libstdc++-v3/config/allocator/malloc_allocator_base.h index 4a82ec3..bc5e6b7 100644 --- a/libstdc++-v3/config/allocator/malloc_allocator_base.h +++ b/libstdc++-v3/config/allocator/malloc_allocator_base.h @@ -1,6 +1,6 @@ // Base to std::allocator -*- C++ -*- -// Copyright (C) 2004 Free Software Foundation, Inc. +// Copyright (C) 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -32,6 +32,6 @@ // Define new_allocator as the base class to std::allocator. #include <ext/malloc_allocator.h> -#define ___glibcxx_base_allocator __gnu_cxx::malloc_allocator +#define __glibcxx_base_allocator __gnu_cxx::malloc_allocator #endif diff --git a/libstdc++-v3/config/allocator/mt_allocator_base.h b/libstdc++-v3/config/allocator/mt_allocator_base.h index 52b4421..df39e2a 100644 --- a/libstdc++-v3/config/allocator/mt_allocator_base.h +++ b/libstdc++-v3/config/allocator/mt_allocator_base.h @@ -1,6 +1,6 @@ // Base to std::allocator -*- C++ -*- -// Copyright (C) 2004 Free Software Foundation, Inc. +// Copyright (C) 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -32,6 +32,6 @@ // Define mt_allocator as the base class to std::allocator. #include <ext/mt_allocator.h> -#define ___glibcxx_base_allocator __gnu_cxx::__mt_alloc +#define __glibcxx_base_allocator __gnu_cxx::__mt_alloc #endif diff --git a/libstdc++-v3/config/allocator/new_allocator_base.h b/libstdc++-v3/config/allocator/new_allocator_base.h index 442f89c..c9b3bb2 100644 --- a/libstdc++-v3/config/allocator/new_allocator_base.h +++ b/libstdc++-v3/config/allocator/new_allocator_base.h @@ -1,6 +1,6 @@ // Base to std::allocator -*- C++ -*- -// Copyright (C) 2004 Free Software Foundation, Inc. +// Copyright (C) 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -32,6 +32,6 @@ // Define new_allocator as the base class to std::allocator. #include <ext/new_allocator.h> -#define ___glibcxx_base_allocator __gnu_cxx::new_allocator +#define __glibcxx_base_allocator __gnu_cxx::new_allocator #endif diff --git a/libstdc++-v3/config/allocator/pool_allocator_base.h b/libstdc++-v3/config/allocator/pool_allocator_base.h index 77c74b2..27432e8 100644 --- a/libstdc++-v3/config/allocator/pool_allocator_base.h +++ b/libstdc++-v3/config/allocator/pool_allocator_base.h @@ -1,6 +1,6 @@ // Base to std::allocator -*- C++ -*- -// Copyright (C) 2004 Free Software Foundation, Inc. +// Copyright (C) 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -32,6 +32,6 @@ // Define new_allocator as the base class to std::allocator. #include <ext/pool_allocator.h> -#define ___glibcxx_base_allocator __gnu_cxx::__pool_alloc +#define __glibcxx_base_allocator __gnu_cxx::__pool_alloc #endif diff --git a/libstdc++-v3/include/bits/allocator.h b/libstdc++-v3/include/bits/allocator.h index c28442f..598048d 100644 --- a/libstdc++-v3/include/bits/allocator.h +++ b/libstdc++-v3/include/bits/allocator.h @@ -1,6 +1,6 @@ // Allocators -*- C++ -*- -// Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc. +// Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -79,7 +79,7 @@ namespace std * http://gcc.gnu.org/onlinedocs/libstdc++/20_util/allocator.html */ template<typename _Tp> - class allocator: public ___glibcxx_base_allocator<_Tp> + class allocator: public __glibcxx_base_allocator<_Tp> { public: typedef size_t size_type; @@ -97,7 +97,7 @@ namespace std allocator() throw() { } allocator(const allocator& __a) throw() - : ___glibcxx_base_allocator<_Tp>(__a) { } + : __glibcxx_base_allocator<_Tp>(__a) { } template<typename _Tp1> allocator(const allocator<_Tp1>&) throw() { } @@ -126,7 +126,7 @@ namespace std #endif // Undefine. -#undef ___glibcxx_base_allocator +#undef __glibcxx_base_allocator } // namespace std #endif |