From 3ca9533f380058a0b76f406c324b2443ecf89dfb Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 22 Dec 2019 08:23:54 -0800 Subject: [PATCH] Flatten forward --- include/fmt/core.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/fmt/core.h b/include/fmt/core.h index 80485d89..b031d878 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -1341,12 +1341,12 @@ template class basic_format_args { struct format_args : basic_format_args { template format_args(Args&&... args) - : basic_format_args(std::forward(args)...) {} + : basic_format_args(static_cast(args)...) {} }; struct wformat_args : basic_format_args { template wformat_args(Args&&... args) - : basic_format_args(std::forward(args)...) {} + : basic_format_args(static_cast(args)...) {} }; template struct is_contiguous : std::false_type {};