diff options
author | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2006-07-28 04:57:34 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2006-07-28 04:57:34 +0000 |
commit | b82f782bfb5c4383ac0bc1e37271ab3bbeb9304d (patch) | |
tree | 81547eb1eadbf4669dec412581227155f1ad5c83 /libstdc++-v3/src/debug.cc | |
parent | 85661c41dd4fe35a4fd54c3679b94fa0ea2e902a (diff) | |
download | gcc-b82f782bfb5c4383ac0bc1e37271ab3bbeb9304d.zip gcc-b82f782bfb5c4383ac0bc1e37271ab3bbeb9304d.tar.gz gcc-b82f782bfb5c4383ac0bc1e37271ab3bbeb9304d.tar.bz2 |
PR libstdc++/19664 round 3
2006-07-27 Benjamin Kosnik <bkoz@wells.artheist.org>
PR libstdc++/19664 round 3
* include/Makefile.am (tr1_headers): Add hashtable_policy.h.
* include/Makefile.in: Regenerate.
* include/tr1/hashtable: Move policy classes into...
* include/tr1/hashtable_policy.h: ... this. New.
* src/globals_locale.cc: Move contents....
* src/locale_init.cc: ... to here, put in anonymous namespace.
* src/Makefile.am: Remove globals_locale.cc.
* src/Makefile.in: Regenerate.
* src/locale.cc: Convert __gnu_internal to anonymous namespace.
* src/debug.cc: Same.
* src/ext-inst.cc: Same.
* src/mt_allocator.cc: Same.
* src/pool_allocator.cc: Same.
* include/tr1/random: Convert std::tr1::_Private to anonymous
namespace.
* include/tr1/random.tcc: Same.
* include/tr1/hashtable: Move ::Internal to std::tr1::detail and
enclose bits that can actually be internal in in anonymous
namespace.
* include/tr1/unordered_set: Adjust explicit qualifications for
namespace changes.
* include/tr1/unordered_map: Same.
* include/tr1/cmath: Convert __gnu_internal to nested detail namespace.
* include/bits/cpp_type_traits.h: Move __type_type into anonymous
namespace.
* include/ext/rope: Change _Rope_constants to anonymous namespace.
* include/ext/ropeimpl.h: Same.
* src/ext-inst.cc: Same.
From-SVN: r115790
Diffstat (limited to 'libstdc++-v3/src/debug.cc')
-rw-r--r-- | libstdc++-v3/src/debug.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libstdc++-v3/src/debug.cc b/libstdc++-v3/src/debug.cc index 8becf33..9484556 100644 --- a/libstdc++-v3/src/debug.cc +++ b/libstdc++-v3/src/debug.cc @@ -39,10 +39,10 @@ using namespace std; -namespace __gnu_internal _GLIBCXX_VISIBILITY(hidden) +namespace { static __glibcxx_mutex_define_initialized(iterator_base_mutex); -} // namespace __gnu_internal +} namespace __gnu_debug { @@ -192,7 +192,7 @@ namespace __gnu_debug // Attach to the new sequence (if there is one) if (__seq) { - __gnu_cxx::lock sentry(__gnu_internal::iterator_base_mutex); + __gnu_cxx::lock sentry(iterator_base_mutex); _M_sequence = __seq; _M_version = _M_sequence->_M_version; _M_prior = 0; @@ -217,7 +217,7 @@ namespace __gnu_debug _Safe_iterator_base:: _M_detach() { - __gnu_cxx::lock sentry(__gnu_internal::iterator_base_mutex); + __gnu_cxx::lock sentry(iterator_base_mutex); if (_M_sequence) { // Remove us from this sequence's list |