From 8f18e72df576ebfbd088a57a5c6cae8d4d0fc3dc Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Thu, 11 May 2023 06:32:58 -0700 Subject: [PATCH] Improve API safety --- 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 46723d59..ba28b5f4 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -1839,9 +1839,9 @@ class format_arg_store \endrst */ template -constexpr auto make_format_args(T&&... args) +constexpr auto make_format_args(T&... args) -> format_arg_store...> { - return {FMT_FORWARD(args)...}; + return {args...}; } /**