diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/cxxformat/formatters.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cxxformat/formatters.hpp b/include/cxxformat/formatters.hpp index b9942d2..264cc52 100644 --- a/include/cxxformat/formatters.hpp +++ b/include/cxxformat/formatters.hpp @@ -59,7 +59,7 @@ namespace format { using namespace std::string_literals; if (addSign != '\0') { - throw std::invalid_argument{"‘+’ and ‘ ’ (sign related) flags are not supported for %s"s + std::string{typeDesc}}; + throw std::invalid_argument{"‘+’ and ‘ ’ (sign related) flags are not supported for "s + std::string{typeDesc}}; } } @@ -68,7 +68,7 @@ namespace format { using namespace std::string_literals; if (padding == '0') { - throw std::invalid_argument{"Zero padding (‘0’ flag) is not supported for %s"s + std::string{typeDesc}}; + throw std::invalid_argument{"Zero padding (‘0’ flag) is not supported for "s + std::string{typeDesc}}; } } |
