mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 08:42:34 +01:00
ircd::fmt: Add this overdue conversion.
This commit is contained in:
parent
c28912b085
commit
275efb3a7b
1 changed files with 1 additions and 0 deletions
|
@ -124,6 +124,7 @@ class ircd::fmt::snprintf
|
|||
|
||||
public:
|
||||
operator ssize_t() const { return consumed(); }
|
||||
operator string_view() const { return { obeg, consumed() }; }
|
||||
|
||||
template<class... Args>
|
||||
snprintf(char *const &buf,
|
||||
|
|
Loading…
Reference in a new issue