summaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/debug/string
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2015-06-22 16:09:27 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2015-06-22 16:09:27 +0100
commite51d877098c6ec07ae4c97ca58d09c5e70a163e8 (patch)
tree4bc0e70fd6e10baaae48fdd2b0100c0bed77552c /libstdc++-v3/include/debug/string
parent9eb659e0031658e61110e433f37b22188a1a6bcc (diff)
downloadgcc-e51d877098c6ec07ae4c97ca58d09c5e70a163e8.tar.gz
list (__gnu_debug::list): Use allocator-aware _Safe_container base.
* include/debug/list (__gnu_debug::list): Use allocator-aware _Safe_container base. * include/debug/string (__gnu_debug::basic_string): Use allocator-aware _Safe_container base for cxx11 ABI. From-SVN: r224738
Diffstat (limited to 'libstdc++-v3/include/debug/string')
-rw-r--r--libstdc++-v3/include/debug/string5
1 files changed, 3 insertions, 2 deletions
diff --git a/libstdc++-v3/include/debug/string b/libstdc++-v3/include/debug/string
index 3793a35869c..f068ef04fe8 100644
--- a/libstdc++-v3/include/debug/string
+++ b/libstdc++-v3/include/debug/string
@@ -42,12 +42,13 @@ namespace __gnu_debug
class basic_string
: public __gnu_debug::_Safe_container<
basic_string<_CharT, _Traits, _Allocator>,
- _Allocator, _Safe_sequence, false>,
+ _Allocator, _Safe_sequence, bool(_GLIBCXX_USE_CXX11_ABI)>,
public std::basic_string<_CharT, _Traits, _Allocator>
{
typedef std::basic_string<_CharT, _Traits, _Allocator> _Base;
typedef __gnu_debug::_Safe_container<
- basic_string, _Allocator, _Safe_sequence, false> _Safe;
+ basic_string, _Allocator, _Safe_sequence, bool(_GLIBCXX_USE_CXX11_ABI)>
+ _Safe;
public:
// types: