aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/src
diff options
context:
space:
mode:
authorBenjamin Kosnik <bkoz@redhat.com>2011-01-20 20:04:25 +0000
committerBenjamin Kosnik <bkoz@gcc.gnu.org>2011-01-20 20:04:25 +0000
commit9b690d8cc39a3dc6d78dde98ac2e339182bb798d (patch)
treee15df2961e3042199f2b8c132a0935254907f314 /libstdc++-v3/src
parent191e7a3000dae4cde90123c0228138217abbad4d (diff)
downloadgcc-9b690d8cc39a3dc6d78dde98ac2e339182bb798d.zip
gcc-9b690d8cc39a3dc6d78dde98ac2e339182bb798d.tar.gz
gcc-9b690d8cc39a3dc6d78dde98ac2e339182bb798d.tar.bz2
PR libstdc++/36104 part three
2011-01-20 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/36104 part three * src/hashtable_c++0x.cc: Adjust namespace macros. * testsuite/util/testsuite_rvalref.h: Don't forward declare hash. * config/abi/pre/gnu-versioned-namespace.ver: Update. From-SVN: r169063
Diffstat (limited to 'libstdc++-v3/src')
-rw-r--r--libstdc++-v3/src/hashtable_c++0x.cc11
1 files changed, 7 insertions, 4 deletions
diff --git a/libstdc++-v3/src/hashtable_c++0x.cc b/libstdc++-v3/src/hashtable_c++0x.cc
index c99a094..0b5f79c 100644
--- a/libstdc++-v3/src/hashtable_c++0x.cc
+++ b/libstdc++-v3/src/hashtable_c++0x.cc
@@ -1,6 +1,6 @@
// std::__detail definitions -*- C++ -*-
-// Copyright (C) 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+// Copyright (C) 2007, 2008, 2009, 2010, 2011 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
@@ -22,11 +22,14 @@
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>.
+#include <bits/c++config.h>
+
#ifndef __GXX_EXPERIMENTAL_CXX0X__
# error "hashtable_c++0x.cc must be compiled with -std=gnu++0x"
#endif
-namespace std
-{
+_GLIBCXX_BEGIN_NAMESPACE(std)
+
#include "hashtable-aux.cc"
-}
+
+_GLIBCXX_END_NAMESPACE // namespace std