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
This commit is contained in:
Jonathan Wakely 2015-09-03 20:05:15 +01:00 committed by Jonathan Wakely
parent 010f20ee1f
commit 433f6725ca
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2015-09-03 Jonathan Wakely <jwakely@redhat.com>
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.

View File

@ -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;)",