forked from boostorg/regex
Changed assert's to BOOST_ASSERT's.
Made array sizes explicit to fix MWCW problems. [SVN r26723]
This commit is contained in:
1 parent
9781fe3150
commit
2a248d1f87
12 files changed
+67
-66
No files matched your search
@@ -1848,7 +1848,7 @@ bool basic_regex_parser<charT, traits>::add_emacs_code(bool negate)
|
||||
if(negate)
|
||||
char_set.negate();
|
||||
|
||||
static const charT s_punct[] = { 'p', 'u', 'n', 'c', 't', };
|
||||
static const charT s_punct[5] = { 'p', 'u', 'n', 'c', 't', };
|
||||
|
||||
switch(*m_position)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user