aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/__format/formatter_bool.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/include/__format/formatter_bool.h')
-rw-r--r--libcxx/include/__format/formatter_bool.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/include/__format/formatter_bool.h b/libcxx/include/__format/formatter_bool.h
index 4c9d3fc77473..cdb0631f87d4 100644
--- a/libcxx/include/__format/formatter_bool.h
+++ b/libcxx/include/__format/formatter_bool.h
@@ -47,6 +47,7 @@ public:
_LIBCPP_HIDE_FROM_ABI auto format(bool __value, auto& __ctx) const -> decltype(__ctx.out()) {
switch (__parser_.__type_) {
+ case __format_spec::__type::__default:
case __format_spec::__type::__string:
return __formatter::__format_bool(__value, __ctx, __parser_.__get_parsed_std_specifications(__ctx));