summaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2010-10-24 10:39:11 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2010-10-24 10:39:11 +0000
commit03904de895d7ba77d9a0f470b44ab467b04dd1ab (patch)
tree2601e3fc967303a581de606ed84600823f24e20f /libstdc++-v3
parent9bcee361753c8149be841e7064a7c3356e7d5e6f (diff)
downloadgcc-03904de895d7ba77d9a0f470b44ab467b04dd1ab.tar.gz
2010-10-24 François Dumont <francois.cppdevs@free.fr>
* src/debug.cc: Fix parameter indexes in __msg_valid_range2 message. Replace 'before begin' decription in 'before-begin' for consistency with 'paste-the-end'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165899 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog6
-rw-r--r--libstdc++-v3/src/debug.cc6
2 files changed, 9 insertions, 3 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 58ec1c9d48a..8e93db447f5 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,9 @@
+2010-10-24 François Dumont <francois.cppdevs@free.fr>
+
+ * src/debug.cc: Fix parameter indexes in __msg_valid_range2 message.
+ Replace 'before begin' decription in 'before-begin' for consistency
+ with 'paste-the-end'.
+
2010-10-18 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/45866
diff --git a/libstdc++-v3/src/debug.cc b/libstdc++-v3/src/debug.cc
index 3deb527568b..9316ed6aea7 100644
--- a/libstdc++-v3/src/debug.cc
+++ b/libstdc++-v3/src/debug.cc
@@ -109,8 +109,8 @@ namespace __gnu_debug
"attempt to insert into container after an end iterator",
"attempt to erase from container after a %2.state; iterator not followed"
" by a dereferenceable one",
- "function requires a valid iterator range (%1.name;, %2.name;)"
- ", %1.name; shall not be equal to %2.name;"
+ "function requires a valid iterator range (%2.name;, %3.name;)"
+ ", \"%2.name;\" shall be before and not equal to \"%3.name;\""
};
void
@@ -331,7 +331,7 @@ namespace __gnu_debug
"dereferenceable (start-of-sequence)",
"dereferenceable",
"past-the-end",
- "before begin"
+ "before-begin"
};
__formatter->_M_print_word(__state_names[_M_variant.
_M_iterator._M_state]);