Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut authored and happymonkey1 committed Apr 6, 2024
1 parent 415002e commit 9b0027c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/fmt/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -2121,8 +2121,7 @@ struct dynamic_format_specs : format_specs<Char> {
};

// Converts a character to ASCII. Returns '\0' on conversion failure.
template <typename Char, FMT_ENABLE_IF(std::is_integral<Char>::value ||
std::is_enum<Char>::value)>
template <typename Char, FMT_ENABLE_IF(std::is_integral<Char>::value)>
constexpr auto to_ascii(Char c) -> char {
return c <= 0xff ? static_cast<char>(c) : '\0';
}
Expand Down

0 comments on commit 9b0027c

Please sign in to comment.