diff --git a/libstdc++-v3/include/bits/regex.tcc b/libstdc++-v3/include/bits/regex.tcc index 6ec259c2501..061b60042ec 100644 --- a/libstdc++-v3/include/bits/regex.tcc +++ b/libstdc++-v3/include/bits/regex.tcc @@ -125,7 +125,7 @@ namespace __detail typedef std::ctype __ctype_type; const __ctype_type& __fctyp(use_facet<__ctype_type>(_M_locale)); - static const char* __collatenames[] = + static const char* const __collatenames[] = { "NUL", "SOH",