From 275efb3a7bfb1c9a62784f3cf9f09b948cbc5b04 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sat, 20 Jan 2018 02:28:03 -0800 Subject: [PATCH] ircd::fmt: Add this overdue conversion. --- include/ircd/fmt.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/ircd/fmt.h b/include/ircd/fmt.h index dfd70b81b..22139de63 100644 --- a/include/ircd/fmt.h +++ b/include/ircd/fmt.h @@ -124,6 +124,7 @@ class ircd::fmt::snprintf public: operator ssize_t() const { return consumed(); } + operator string_view() const { return { obeg, consumed() }; } template snprintf(char *const &buf,