From 8cf9bbd2476bbacdcb8bc51ea2b2c020f3ea0168 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fran=C3=A7ois=20Dumont?= Date: Wed, 16 Oct 2019 05:05:27 +0000 Subject: [PATCH] [_GLIBCXX_DEBUG] Clarify constness and state entries. * src/c++11/debug.cc (print_field): Replace constness_names entry with . Replace state_names entry with . From-SVN: r277049 --- libstdc++-v3/ChangeLog | 6 ++++++ libstdc++-v3/src/c++11/debug.cc | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 8119455e1ad..02b743414dd 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2019-10-16 François Dumont + + * src/c++11/debug.cc (print_field): Replace constness_names + entry with . Replace state_names entry with + . + 2019-10-11 Jonathan Wakely * include/Makefile.am: Add new header. diff --git a/libstdc++-v3/src/c++11/debug.cc b/libstdc++-v3/src/c++11/debug.cc index efd1a9e0254..39f99fcd261 100644 --- a/libstdc++-v3/src/c++11/debug.cc +++ b/libstdc++-v3/src/c++11/debug.cc @@ -721,7 +721,7 @@ namespace static const char* constness_names[_Error_formatter::__last_constness] = { - "", + "", "constant", "mutable" }; @@ -732,7 +732,7 @@ namespace static const char* state_names[_Error_formatter::__last_state] = { - "", + "", "singular", "dereferenceable (start-of-sequence)", "dereferenceable", -- 2.30.2