From 0e37a76df0cd7cfbae77f1622f6b9eaaa7989cc9 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Sat, 23 Nov 2002 11:30:36 +0000 Subject: [PATCH] Fix for MWCW which doesn't like incomplete array type. [SVN r16375] --- include/boost/regex/v3/regex_split.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/regex/v3/regex_split.hpp b/include/boost/regex/v3/regex_split.hpp index 37bd59a6..91babcd0 100644 --- a/include/boost/regex/v3/regex_split.hpp +++ b/include/boost/regex/v3/regex_split.hpp @@ -36,7 +36,7 @@ namespace re_detail{ template const reg_expression& get_default_expression(charT) { - static const charT expression_text[] = { '\\', 's', '+', '\00', }; + static const charT expression_text[4] = { '\\', 's', '+', '\00', }; static const reg_expression e(expression_text); return e; } @@ -149,3 +149,4 @@ inline std::size_t regex_split(OutputIterator out, #endif +