From f60aad8753a9b4d6c9da2c4976b503d4fb304c93 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sat, 24 Mar 2018 22:48:43 -0700 Subject: [PATCH] ircd: Add default construction for byte_view. --- include/ircd/byte_view.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ircd/byte_view.h b/include/ircd/byte_view.h index 412a51b7e..d67f87928 100644 --- a/include/ircd/byte_view.h +++ b/include/ircd/byte_view.h @@ -60,7 +60,7 @@ struct ircd::byte_view {} /// string_view -> string_view (completeness) - byte_view(const string_view &t) + byte_view(const string_view &t = {}) :string_view{t} {} };