aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/src
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely.gcc@gmail.com>2012-04-22 13:27:16 +0000
committerJonathan Wakely <redi@gcc.gnu.org>2012-04-22 14:27:16 +0100
commit7c688aded43731835cfd13566fe8240c346cc20d (patch)
tree4cc822a189910f33f4e66596db19082a4d0f4ddb /libstdc++-v3/src
parent49c45e289e98ae5abfcd6ba549b839cd70fe62af (diff)
downloadgcc-7c688aded43731835cfd13566fe8240c346cc20d.zip
gcc-7c688aded43731835cfd13566fe8240c346cc20d.tar.gz
gcc-7c688aded43731835cfd13566fe8240c346cc20d.tar.bz2
forward_list (forward_list::splice_after): Check allocators are equal.
* include/debug/forward_list (forward_list::splice_after): Check allocators are equal. * src/c++11/debug.cc: Fix spelling. * testsuite/23_containers/forward_list/debug/splice_after5_neg.cc: New. * testsuite/23_containers/forward_list/debug/splice_after6_neg.cc: Likewise. * testsuite/23_containers/forward_list/debug/splice_after7_neg.cc: Likewise. From-SVN: r186669
Diffstat (limited to 'libstdc++-v3/src')
-rw-r--r--libstdc++-v3/src/c++11/debug.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/src/c++11/debug.cc b/libstdc++-v3/src/c++11/debug.cc
index 0c746c1..f0ab4bc 100644
--- a/libstdc++-v3/src/c++11/debug.cc
+++ b/libstdc++-v3/src/c++11/debug.cc
@@ -131,7 +131,7 @@ namespace __gnu_debug
"attempt to flip a singular bitset reference",
// std::list checks
"attempt to splice a list into itself",
- "attempt to splice lists with inequal allocators",
+ "attempt to splice lists with unequal allocators",
"attempt to splice elements referenced by a %1.state; iterator",
"attempt to splice an iterator from a different container",
"splice destination %1.name;"