mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 14:59:39 +02:00
libstdc++: make __collatenames array const in regex.tcc
libstdc++-v3/ChangeLog: * include/bits/regex.tcc (regex_traits::lookup_collatename): Make __collatenames array const. Signed-off-by: Caolán McNamara <caolanm@gmail.com>
This commit is contained in:
committed by
Jonathan Wakely
parent
269ce3de8c
commit
d78b2b6c01
@@ -125,7 +125,7 @@ namespace __detail
|
||||
typedef std::ctype<char_type> __ctype_type;
|
||||
const __ctype_type& __fctyp(use_facet<__ctype_type>(_M_locale));
|
||||
|
||||
static const char* __collatenames[] =
|
||||
static const char* const __collatenames[] =
|
||||
{
|
||||
"NUL",
|
||||
"SOH",
|
||||
|
||||
Reference in New Issue
Block a user