add default case for core
Adding default case for switch statements where the compilation flag -Wswitch-default is present on the command line. Signed-off-by: Ryan Sherlock <ryan.m.sherlock@gmail.com>
This commit is contained in:
parent
0f85a4683a
commit
f8dee2a9ab
@ -1371,6 +1371,8 @@ FMT_CONSTEXPR_DECL FMT_INLINE auto visit_format_arg(
|
|||||||
return vis(arg.value_.pointer);
|
return vis(arg.value_.pointer);
|
||||||
case detail::type::custom_type:
|
case detail::type::custom_type:
|
||||||
return vis(typename basic_format_arg<Context>::handle(arg.value_.custom));
|
return vis(typename basic_format_arg<Context>::handle(arg.value_.custom));
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
return vis(monostate());
|
return vis(monostate());
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user