mirror of
https://github.com/fmtlib/fmt.git
synced 2025-11-28 05:09:44 +01:00
Fix a bogus MSVC warning about unreachable code, take 2
This commit is contained in:
@@ -740,8 +740,8 @@ class basic_parse_context : private ErrorHandler {
|
||||
|
||||
FMT_CONSTEXPR bool check_arg_id(unsigned) {
|
||||
if (next_arg_id_ > 0) {
|
||||
return on_error(
|
||||
"cannot switch from automatic to manual argument indexing"), false;
|
||||
on_error("cannot switch from automatic to manual argument indexing");
|
||||
return false;
|
||||
}
|
||||
next_arg_id_ = -1;
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user