From 422c1e9288fbbcd815960847489dabd622110925 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 4 Jul 2022 14:59:10 +0200 Subject: [PATCH] util/TemplateString: remove StringView support --- src/util/TemplateString.hxx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/util/TemplateString.hxx b/src/util/TemplateString.hxx index a456459a1..447992242 100644 --- a/src/util/TemplateString.hxx +++ b/src/util/TemplateString.hxx @@ -30,8 +30,6 @@ #ifndef TEMPLATE_STRING_HXX #define TEMPLATE_STRING_HXX -#include "StringView.hxx" - #include // for std::size() #include #include @@ -50,10 +48,6 @@ struct Buffer { constexpr operator std::string_view() const noexcept { return {value, size}; } - - constexpr operator StringView() const noexcept { - return {value, size}; - } }; /**