mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-26 00:21:13 +00:00
Fix switch fall-through warning
Clang with `-Wimplicit-fallthrough` enabled shows a warning here without the break.
This commit is contained in:
parent
209748f128
commit
6178bc6f8e
@ -676,6 +676,7 @@ FMT_FUNC Arg fmt::internal::FormatterBase::do_get_arg(
|
||||
break;
|
||||
case Arg::NAMED_ARG:
|
||||
arg = *static_cast<const internal::Arg*>(arg.pointer);
|
||||
break;
|
||||
default:
|
||||
/*nothing*/;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user