mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-24 06:32:06 +08:00
Removing changes to bundled fmt
Removing changes to the bundled fmt library. The default case statements will be changed in the upstream library. Signed-off-by: Ryan Sherlock <sherlock@loftorbital.com>
This commit is contained in:
parent
3aee89c8fd
commit
bb5e1ee2f9
@ -1350,8 +1350,6 @@ 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());
|
||||||
}
|
}
|
||||||
|
@ -2814,8 +2814,6 @@ FMT_CONSTEXPR const Char* parse_align(const Char* begin, const Char* end,
|
|||||||
case '^':
|
case '^':
|
||||||
align = align::center;
|
align = align::center;
|
||||||
break;
|
break;
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
if (align != align::none) {
|
if (align != align::none) {
|
||||||
if (p != begin) {
|
if (p != begin) {
|
||||||
@ -2899,8 +2897,6 @@ FMT_CONSTEXPR const Char* parse_format_specs(const Char* begin, const Char* end,
|
|||||||
handler.on_space();
|
handler.on_space();
|
||||||
++begin;
|
++begin;
|
||||||
break;
|
break;
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
if (begin == end) return begin;
|
if (begin == end) return begin;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user