Cleanup width handlers

This commit is contained in:
Victor Zverovich committed 2022-12-23 19:18:35 -08:00
1 parent 1dadeb8a33
commit 840ec8569d
4 files changed
+4 -7

No files matched your search

+1 -2
View File
@@ -553,8 +553,7 @@ struct test_format_specs_handler {
constexpr void on_zero() { res = zero; }
constexpr void on_localized() { res = loc; }
constexpr void on_width(int w) { width = w; }
constexpr void on_dynamic_width(const fmt::detail::dynamic_spec<char>& spec) {
constexpr void on_width(const fmt::detail::dynamic_spec<char>& spec) {
switch (spec.kind) {
case fmt::detail::dynamic_spec_kind::none:
break;