From 14174c826d00ee7088978d0800c2d15b256d2d22 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Fri, 11 Sep 2026 08:49:10 -0700 Subject: [PATCH] Add braces for readability --- include/fmt/ranges.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/fmt/ranges.h b/include/fmt/ranges.h index c21b6924..678df0f1 100644 --- a/include/fmt/ranges.h +++ b/include/fmt/ranges.h @@ -646,8 +646,9 @@ struct formatter< FMT_CONSTEXPR auto parse(parse_context& ctx) -> const Char* { auto it = underlying_.parse(ctx); if FMT_CONSTEXPR20 (range_format_kind::value == - range_format::debug_string) + range_format::debug_string) { underlying_.set_debug_format(); + } return it; }