Skip to content

Commit 4282a7a

Browse files
author
Roy
committed
missing BOOST_FALLTHROUGH in a few cases
1 parent c02d872 commit 4282a7a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

include/boost/json/basic_parser_impl.hpp

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,10 +686,17 @@ parse_value(const char* p,
686686
// or just leave it as is
687687
if(BOOST_JSON_UNLIKELY(p == sentinel()))
688688
return maybe_suspend(p, state::val2);
689-
// intentional fallthrough
689+
BOOST_FALLTHROUGH;
690+
690691
case ' ':
692+
BOOST_FALLTHROUGH;
693+
691694
case '\t':
695+
BOOST_FALLTHROUGH;
696+
692697
case '\n':
698+
BOOST_FALLTHROUGH;
699+
693700
case '\r':
694701
p = detail::count_whitespace(p, end_);
695702
if(BOOST_JSON_UNLIKELY(p == end_))

0 commit comments

Comments
 (0)