diff --git a/include/fmt/format.h b/include/fmt/format.h index ed87ea3d..cc8d267d 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -997,12 +997,12 @@ template struct fill_t { // We cannot use enum classes as bit fields because of a gcc bug // https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61414. namespace align { -enum type { none, left, right, center, numeric }; +enum type : uint8_t { none, left, right, center, numeric }; } using align_t = align::type; namespace sign { -enum type { none, minus, plus, space }; +enum type : uint8_t { none, minus, plus, space }; } using sign_t = sign::type;