Apply patch from #8476.

Fixes #8476.

[SVN r84015]
This commit is contained in:
John Maddock
2013-04-22 17:29:50 +00:00
parent 3162e5ef22
commit eed2a486c4
3 changed files with 16 additions and 0 deletions

View File

@ -284,6 +284,7 @@ void basic_regex_formatter<OutputIterator, Results, traits, ForwardIter>::format
break;
}
// fall through, not a special character:
BOOST_FALLTHROUGH;
default:
put(*m_position);
++m_position;
@ -355,6 +356,7 @@ void basic_regex_formatter<OutputIterator, Results, traits, ForwardIter>::format
have_brace = true;
++m_position;
// fall through....
BOOST_FALLTHROUGH;
default:
// see if we have a number:
{