From 868d96b89daf4fa800d7a53161b365f176a13ef4 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Wed, 5 Jun 2019 12:57:10 -0700 Subject: [PATCH] ircd: Minor cleanup. --- include/ircd/stringops.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/ircd/stringops.h b/include/ircd/stringops.h index c3e2bae75..af18aed3b 100644 --- a/include/ircd/stringops.h +++ b/include/ircd/stringops.h @@ -151,7 +151,7 @@ struct ircd::strlcpy {} strlcpy(const mutable_buffer &dst, const string_view &src) - :strlcpy(data(dst), src, size(dst)) + :strlcpy{data(dst), src, size(dst)} {} }; @@ -185,11 +185,11 @@ struct ircd::strlcat {} strlcat(char *const &dst, const char *const &src, const size_t &max) - :strlcat(dst, string_view{src, ::strnlen(src, max)}, max) + :strlcat{dst, string_view{src, ::strnlen(src, max)}, max} {} strlcat(const mutable_buffer &dst, const string_view &src) - :strlcat(data(dst), src, size(dst)) + :strlcat{data(dst), src, size(dst)} {} };