Skip to content

Commit

Permalink
Update json_encoder.hpp
Browse files Browse the repository at this point in the history
added JSONCONS_FALLTHROUGH
  • Loading branch information
MonkeybreadSoftware authored Sep 21, 2023
1 parent b865553 commit d62a614
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions include/jsoncons/json_encoder.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -679,9 +679,10 @@ namespace detail {
if (options_.bigint_format() == bigint_chars_format::number)
{
write_bigint_value(sv);
break;
}
} // fall through
break;
}
JSONCONS_FALLTHROUGH;
}
default:
{
sink_.push_back('\"');
Expand Down Expand Up @@ -1340,8 +1341,9 @@ namespace detail {
{
write_bigint_value(sv);
break;
}
} // fall through
}
JSONCONS_FALLTHROUGH;
}
default:
{
sink_.push_back('\"');
Expand Down

0 comments on commit d62a614

Please sign in to comment.