From: Jonathan Wakely Date: Thu, 3 Sep 2015 19:05:15 +0000 (+0100) Subject: re PR libstdc++/66902 (_S_debug_messages is unneccessary public) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=433f6725cade960da390716e5d9901d16e80cbff;p=gcc.git re PR libstdc++/66902 (_S_debug_messages is unneccessary public) PR libstdc++/66902 * src/c++11/debug.cc (_S_debug_messages): Make array const. From-SVN: r227466 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index eb4758901ec..b0e0af8bcb3 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,8 @@ 2015-09-03 Jonathan Wakely + PR libstdc++/66902 + * src/c++11/debug.cc (_S_debug_messages): Make array const. + PR libstdc++/66998 * include/experimental/functional (_Not_fn): Add exception specifications and non-deduced return types. diff --git a/libstdc++-v3/src/c++11/debug.cc b/libstdc++-v3/src/c++11/debug.cc index c435de70b51..ac3ac67b49e 100644 --- a/libstdc++-v3/src/c++11/debug.cc +++ b/libstdc++-v3/src/c++11/debug.cc @@ -103,7 +103,7 @@ namespace namespace __gnu_debug { - static const char* _S_debug_messages[] = + const char* const _S_debug_messages[] = { // General Checks "function requires a valid iterator range [%1.name;, %2.name;)",