Skip to content

Commit

Permalink
Fix build error when SCN_DISABLE_LOCALE is ON on a recent-enough comp…
Browse files Browse the repository at this point in the history
…iler
  • Loading branch information
eliaskosunen committed Oct 28, 2024
1 parent 67dae4c commit 88e23f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/scn/scan.h
Original file line number Diff line number Diff line change
Expand Up @@ -6277,6 +6277,7 @@ struct specs_setter {
{
m_specs.fill = fill;
}
template <bool Dependent = true>
constexpr void on_localized()
{
if constexpr (!SCN_DISABLE_LOCALE) {
Expand Down

0 comments on commit 88e23f2

Please sign in to comment.