aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/ext/hash_set
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/include/ext/hash_set')
-rw-r--r--libstdc++-v3/include/ext/hash_set13
1 files changed, 7 insertions, 6 deletions
diff --git a/libstdc++-v3/include/ext/hash_set b/libstdc++-v3/include/ext/hash_set
index 1179e885aab..178fb85ab40 100644
--- a/libstdc++-v3/include/ext/hash_set
+++ b/libstdc++-v3/include/ext/hash_set
@@ -64,8 +64,8 @@
#include <ext/hashtable.h>
#include <bits/concept_check.h>
-namespace __gnu_cxx
-{
+_GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
+
using std::equal_to;
using std::allocator;
using std::pair;
@@ -490,10 +490,10 @@ public:
hash_multiset<_Val, _HashFcn, _EqualKey, _Alloc>& __hs2)
{ __hs1.swap(__hs2); }
-} // namespace __gnu_cxx
+_GLIBCXX_END_NAMESPACE
+
+_GLIBCXX_BEGIN_NAMESPACE(std)
-namespace std
-{
// Specialization of insert_iterator so that it will work for hash_set
// and hash_multiset.
@@ -582,7 +582,8 @@ namespace std
insert_iterator<_Container>&
operator++(int) { return *this; }
};
-} // namespace std
+
+_GLIBCXX_END_NAMESPACE
#ifdef _GLIBCXX_DEBUG
# include <debug/hash_set>