Skip to content

Commit

Permalink
Clarify that mixing code unit types is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Nov 30, 2023
1 parent 0471800 commit 2a8a694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fmt/std.h
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ template <typename Char> struct formatter<std::error_code, Char> {
FMT_EXPORT
template <typename T, typename Char>
struct formatter<
T, Char,
T, Char, // DEPRECATED! Mixing code unit types.
typename std::enable_if<std::is_base_of<std::exception, T>::value>::type> {
private:
bool with_typename_ = false;
Expand Down

0 comments on commit 2a8a694

Please sign in to comment.