numeric -> arithmetic

This commit is contained in:
Victor Zverovich
2017-12-09 06:19:15 -08:00
parent 5328907f7f
commit 7cea163809
3 changed files with 6 additions and 8 deletions
+1 -1
View File
@@ -1517,7 +1517,7 @@ class specs_checker : public Handler {
private:
constexpr void require_numeric_argument() {
if (!is_numeric(arg_type_))
if (!is_arithmetic(arg_type_))
this->on_error("format specifier requires numeric argument");
}