From 900adebb4b004605ee1ab7561657d2e3ec90d855 Mon Sep 17 00:00:00 2001 From: Walter Gray Date: Mon, 30 Nov 2020 17:58:11 -0800 Subject: [PATCH] fix gcc pedantic error --- include/fmt/ranges.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/ranges.h b/include/fmt/ranges.h index 91045b58..c4db83f6 100644 --- a/include/fmt/ranges.h +++ b/include/fmt/ranges.h @@ -371,7 +371,7 @@ struct formatter< (formatting.add_delimiter_spaces && i > 0), *it), make_format_args(*it)); if (++i > formatting.range_length_limit) { - out = format_to(out, FMT_STRING(" ... ")); + out = format_to(out, FMT_STRING("{}"), " ... "); break; } }