mirror of
https://github.com/fmtlib/fmt.git
synced 2025-12-01 14:49:33 +01:00
Improve binary size
This commit is contained in:
@@ -202,7 +202,7 @@ class printf_arg_formatter : public arg_formatter<Char> {
|
||||
OutputIt write_null_pointer(bool is_string = false) {
|
||||
auto s = this->specs;
|
||||
s.type = 0;
|
||||
return write(this->out, string_view(is_string ? "(null)" : "(nil)"), s);
|
||||
return write_bytes(this->out, is_string ? "(null)" : "(nil)", s);
|
||||
}
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user