aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/ext/string_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/include/ext/string_util.h')
-rw-r--r--libstdc++-v3/include/ext/string_util.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/libstdc++-v3/include/ext/string_util.h b/libstdc++-v3/include/ext/string_util.h
index a6063999eb7..0effc8343b1 100644
--- a/libstdc++-v3/include/ext/string_util.h
+++ b/libstdc++-v3/include/ext/string_util.h
@@ -42,8 +42,8 @@
#include <bits/cpp_type_traits.h>
#include <algorithm> // For std::distance, srd::search.
-namespace __gnu_cxx
-{
+_GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
+
template<typename _CharT, typename _Traits, typename _Alloc>
struct __string_utility
{
@@ -141,6 +141,7 @@ namespace __gnu_cxx
_S_copy_chars(_CharT* __p, const _CharT* __k1, const _CharT* __k2)
{ _S_copy(__p, __k1, __k2 - __k1); }
};
-} // namespace __gnu_cxx
+
+_GLIBCXX_END_NAMESPACE
#endif /* _STRING_UTIL_H */