Skip to content

Commit

Permalink
Improve API safety
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed May 11, 2023
1 parent 93d7cb1 commit 8f18e72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/fmt/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -1839,9 +1839,9 @@ class format_arg_store
\endrst
*/
template <typename Context = format_context, typename... T>
constexpr auto make_format_args(T&&... args)
constexpr auto make_format_args(T&... args)
-> format_arg_store<Context, remove_cvref_t<T>...> {
return {FMT_FORWARD(args)...};
return {args...};
}

/**
Expand Down

0 comments on commit 8f18e72

Please sign in to comment.