forked from boostorg/regex
Fix for MWCW which doesn't like incomplete array type.
[SVN r16375]
This commit is contained in:
@ -36,7 +36,7 @@ namespace re_detail{
|
|||||||
template <class charT>
|
template <class charT>
|
||||||
const reg_expression<charT>& get_default_expression(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);
|
static const reg_expression<charT> e(expression_text);
|
||||||
return e;
|
return e;
|
||||||
}
|
}
|
||||||
@ -149,3 +149,4 @@ inline std::size_t regex_split(OutputIterator out,
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user