diff options
| author | Markus Mittendrein <maxmitti@maxmitti.tk> | 2022-01-08 02:16:51 +0100 |
|---|---|---|
| committer | Markus Mittendrein <maxmitti@maxmitti.tk> | 2022-01-08 02:16:51 +0100 |
| commit | f1b48c9d548743e6b57dda939b58d7d839cf7b5c (patch) | |
| tree | c53c7d2c959a5de1e12b33d609393b1c44b12572 | |
| parent | e89e8b9560f896666551aa45065de01e06c353f9 (diff) | |
| download | cxxformat-f1b48c9d548743e6b57dda939b58d7d839cf7b5c.tar.gz cxxformat-f1b48c9d548743e6b57dda939b58d7d839cf7b5c.zip | |
Fix comparison with wrong field
| -rw-r--r-- | include/cxxformat/formatters.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cxxformat/formatters.hpp b/include/cxxformat/formatters.hpp index c9461e3..e27fc6a 100644 --- a/include/cxxformat/formatters.hpp +++ b/include/cxxformat/formatters.hpp @@ -467,7 +467,7 @@ namespace format { } else { - assert(spec.conversion == 's' || spec.flags.alternative == 'v'); + assert(spec.conversion == 's' || spec.conversion == 'v'); if (s == nullptr) { |
