diff options
author | Marc Glisse <marc.glisse@normalesup.org> | 2006-05-10 15:43:20 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2006-05-10 15:43:20 +0000 |
commit | 05a79eb6bce1cb36c961e6d5421a960395a7a0a1 (patch) | |
tree | 9a8eb468d3bcaabcfc417dd5b19c3ecd90be4bba /libstdc++-v3/include/ext/mt_allocator.h | |
parent | 7fdf6c6980312969655e4c7e90eaba31ec53d16f (diff) | |
download | gcc-05a79eb6bce1cb36c961e6d5421a960395a7a0a1.zip gcc-05a79eb6bce1cb36c961e6d5421a960395a7a0a1.tar.gz gcc-05a79eb6bce1cb36c961e6d5421a960395a7a0a1.tar.bz2 |
pool_allocator.h: Add missing std:: qualifications.
2006-05-10 Marc Glisse <marc.glisse@normalesup.org>
* include/ext/pool_allocator.h: Add missing std:: qualifications.
* include/ext/mt_allocator.h: Likewise.
* include/ext/pb_assoc/detail/resize_policy/
hash_load_check_resize_trigger_imp.hpp: Likewise.
* include/ext/pb_assoc/detail/resize_policy/
hash_standard_resize_policy_imp.hpp: Likewise.
* include/ext/pb_assoc/detail/lu_policy/
counter_lu_metadata_imp.hpp: Likewise.
* include/ext/pb_assoc/detail/map_debug_base.hpp: Likewise.
* libsupc++/eh_alloc.cc: Typo: memcpy -> memset.
From-SVN: r113673
Diffstat (limited to 'libstdc++-v3/include/ext/mt_allocator.h')
-rw-r--r-- | libstdc++-v3/include/ext/mt_allocator.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libstdc++-v3/include/ext/mt_allocator.h b/libstdc++-v3/include/ext/mt_allocator.h index 0b557ba..07de3ed 100644 --- a/libstdc++-v3/include/ext/mt_allocator.h +++ b/libstdc++-v3/include/ext/mt_allocator.h @@ -1,6 +1,6 @@ // MT-optimized allocator -*- C++ -*- -// Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. +// Copyright (C) 2003, 2004, 2005, 2006 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 @@ -111,7 +111,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx) : _M_align(_S_align), _M_max_bytes(_S_max_bytes), _M_min_bin(_S_min_bin), _M_chunk_size(_S_chunk_size), _M_max_threads(_S_max_threads), _M_freelist_headroom(_S_freelist_headroom), - _M_force_new(getenv("GLIBCXX_FORCE_NEW") ? true : false) + _M_force_new(std::getenv("GLIBCXX_FORCE_NEW") ? true : false) { } explicit @@ -480,7 +480,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx) sizeof(_Tp) * size_t(_Tune::_S_chunk_size), _Tune::_S_max_threads, _Tune::_S_freelist_headroom, - getenv("GLIBCXX_FORCE_NEW") ? true : false); + std::getenv("GLIBCXX_FORCE_NEW") ? true : false); static pool_type _S_pool(_S_tune); return _S_pool; } |