From 68478bb473eac849292087725cccb7a0cbc9c3a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Dumont?= Date: Sun, 24 Oct 2010 12:39:11 +0200 Subject: [PATCH] debug.cc: Fix parameter indexes in __msg_valid_range2 message. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2010-10-24 François Dumont * src/debug.cc: Fix parameter indexes in __msg_valid_range2 message. Replace 'before begin' decription in 'before-begin' for consistency with 'paste-the-end'. From-SVN: r165899 --- libstdc++-v3/ChangeLog | 6 ++++++ libstdc++-v3/src/debug.cc | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 58ec1c9d48ab..8e93db447f54 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2010-10-24 François Dumont + + * 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 PR libstdc++/45866 diff --git a/libstdc++-v3/src/debug.cc b/libstdc++-v3/src/debug.cc index 3deb527568be..9316ed6aea7e 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]);