mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-26 18:28:20 +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;
|
break;
|
||||||
case Arg::NAMED_ARG:
|
case Arg::NAMED_ARG:
|
||||||
arg = *static_cast<const internal::Arg*>(arg.pointer);
|
arg = *static_cast<const internal::Arg*>(arg.pointer);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
/*nothing*/;
|
/*nothing*/;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user