From 7a7c1fb5424e0745f46a55c24c865f5194a76f58 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Wed, 28 Feb 2018 02:23:06 -0800 Subject: [PATCH] ircd::buffer: Disambiguate conversion. --- include/ircd/buffer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ircd/buffer.h b/include/ircd/buffer.h index 47c8d56df..18b76d9d6 100644 --- a/include/ircd/buffer.h +++ b/include/ircd/buffer.h @@ -114,7 +114,7 @@ struct ircd::buffer::buffer using value_type = typename std::remove_pointer::type; operator string_view() const; - operator std::string_view() const; + explicit operator std::string_view() const; explicit operator std::string() const; auto &begin() const { return std::get<0>(*this); }