aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/src/ext-inst.cc
diff options
context:
space:
mode:
authorBenjamin Kosnik <bkoz@gcc.gnu.org>2006-07-28 04:57:34 +0000
committerBenjamin Kosnik <bkoz@gcc.gnu.org>2006-07-28 04:57:34 +0000
commitb82f782bfb5c4383ac0bc1e37271ab3bbeb9304d (patch)
tree81547eb1eadbf4669dec412581227155f1ad5c83 /libstdc++-v3/src/ext-inst.cc
parent85661c41dd4fe35a4fd54c3679b94fa0ea2e902a (diff)
downloadgcc-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/ext-inst.cc')
-rw-r--r--libstdc++-v3/src/ext-inst.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/libstdc++-v3/src/ext-inst.cc b/libstdc++-v3/src/ext-inst.cc
index 35f0b16..1e356d6 100644
--- a/libstdc++-v3/src/ext-inst.cc
+++ b/libstdc++-v3/src/ext-inst.cc
@@ -34,15 +34,13 @@
#include <ext/rope>
#include <ext/stdio_filebuf.h>
-namespace __gnu_internal _GLIBCXX_VISIBILITY(hidden)
+namespace
{
- const int min_len = __gnu_cxx::_Rope_constants::_S_max_rope_depth + 1;
+ const int min_len = _S_max_rope_depth + 1;
}
_GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
- using namespace __gnu_internal;
-
template
const unsigned long
rope<char, std::allocator<char> >::_S_min_len[min_len];