diff --git a/include/fmt/chrono.h b/include/fmt/chrono.h index c965cf78..2b907b14 100644 --- a/include/fmt/chrono.h +++ b/include/fmt/chrono.h @@ -750,7 +750,7 @@ struct formatter, Char> { void on_fill(Char fill) { f.specs.fill[0] = fill; } void on_align(align_t align) { f.specs.align = align; } void on_width(unsigned width) { f.specs.width = width; } - void on_precision(unsigned precision) { f.precision = precision; } + void on_precision(unsigned _precision) { f.precision = _precision; } void end_precision() {} template void on_dynamic_width(Id arg_id) {