Skip to content

Commit

Permalink
Cleanup public API
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Aug 11, 2024
1 parent c71d03f commit f8c0c8e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/fmt/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -2188,12 +2188,12 @@ struct format_specs {
alt(false),
localized(false) {}

enum { dynamic_width_mask = 3, dynamic_precision_mask = 12 };

constexpr auto dynamic_width() const -> detail::arg_id_kind {
FMT_CONSTEXPR auto dynamic_width() const -> detail::arg_id_kind {
enum { dynamic_width_mask = 3 };
return static_cast<detail::arg_id_kind>(dynamic & dynamic_width_mask);
}
constexpr auto dynamic_precision() const -> detail::arg_id_kind {
FMT_CONSTEXPR auto dynamic_precision() const -> detail::arg_id_kind {
enum { dynamic_precision_mask = 12 };
return static_cast<detail::arg_id_kind>(
(dynamic & dynamic_precision_mask) >> 2);
}
Expand Down

0 comments on commit f8c0c8e

Please sign in to comment.