diff options
| -rw-r--r-- | include/cxxformat/formatters.hpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/cxxformat/formatters.hpp b/include/cxxformat/formatters.hpp index e27fc6a..b9942d2 100644 --- a/include/cxxformat/formatters.hpp +++ b/include/cxxformat/formatters.hpp @@ -393,10 +393,6 @@ namespace format { struct formatter<S> { static constexpr void format(const format_output auto& out, const S& s, format_specifier spec, optional_int<std::size_t> minWidth, optional_int<std::size_t> precision) { - if (spec.conversion != 's' && spec.conversion != 'v') - { - throw invalid_argument{"The given stringy type only supports the āsā and āvā conversions"}; - } std::string_view val(s); if (precision) { |
