summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/cxxformat/formatters.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/cxxformat/formatters.hpp b/include/cxxformat/formatters.hpp
index 03af08e..55874f1 100644
--- a/include/cxxformat/formatters.hpp
+++ b/include/cxxformat/formatters.hpp
@@ -456,6 +456,7 @@ namespace format {
simpleConversionSpecifierCheck("sv", spec.conversion, "stringy type");
noAlternative(spec.flags.alternative, "stringy types");
noSignFlags(spec.addSign, "stringy types");
+ noZeroPadding(spec.padding, "stringy types");
}
};
@@ -485,6 +486,7 @@ namespace format {
noAlternative(spec.flags.alternative, "pointer types");
noSignFlags(spec.addSign, "pointer types");
noPrecision(spec.precision, "pointer types");
+ noZeroPadding(spec.padding, "pointer types");
delegated_formatter::conversionSupported(delegateSpec);
}
};
@@ -530,6 +532,7 @@ namespace format {
simpleConversionSpecifierCheck("spv", spec.conversion, "char pointer");
noAlternative(spec.flags.alternative, "char pointer");
noSignFlags(spec.addSign, "char pointer");
+ noZeroPadding(spec.padding, "char pointer");
}
};