summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarkus Mittendrein <maxmitti@maxmitti.tk>2022-01-08 02:41:01 +0100
committerMarkus Mittendrein <maxmitti@maxmitti.tk>2022-01-08 02:41:01 +0100
commitab2c61054f09e0834cba6008263096f2afdfd4d0 (patch)
tree71be720c2c8d61e4092b0593701c6f2dac25c1cb /include
parent485a4f3e1538f6ab17569b99619fa31e30373201 (diff)
downloadcxxformat-ab2c61054f09e0834cba6008263096f2afdfd4d0.tar.gz
cxxformat-ab2c61054f09e0834cba6008263096f2afdfd4d0.zip
Fix error strings
Diffstat (limited to 'include')
-rw-r--r--include/cxxformat/formatters.hpp4
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}};
}
}