Skip to content

Commit

Permalink
Replace one more macro usage with 'constexpr'.
Browse files Browse the repository at this point in the history
  • Loading branch information
kamrann committed Sep 23, 2024
1 parent 7226c0e commit e30fadd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fmt/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -2608,7 +2608,7 @@ class context : private detail::locale_ref {
FMT_CONSTEXPR auto out() -> iterator { return out_; }

// Advances the begin iterator to `it`.
FMT_CONSTEXPR void advance_to(iterator) {}
constexpr void advance_to(iterator) {}

FMT_CONSTEXPR auto locale() -> detail::locale_ref { return *this; }
};
Expand Down

0 comments on commit e30fadd

Please sign in to comment.