Added explicit bounds to arrays, as patch for broken compilers that can't otherwise cope.

[SVN r18743]
This commit is contained in:
John Maddock
2003-06-09 11:56:15 +00:00
parent eb91bf612a
commit 6dfa7ef86c
6 changed files with 30 additions and 27 deletions

View File

@ -36,7 +36,7 @@ namespace re_detail{
template <class charT>
const reg_expression<charT>& get_default_expression(charT)
{
static const charT expression_text[] = { '\\', 's', '+', '\00', };
static const charT expression_text[4] = { '\\', 's', '+', '\00', };
static const reg_expression<charT> e(expression_text);
return e;
}