From 84084baa65ac4ed6f6564e4e071ad7cf88112016 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 21 Jan 2021 20:16:32 +0100 Subject: [PATCH] util/AllocatedString: remove wrong `std::` prefix --- src/util/AllocatedString.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/AllocatedString.hxx b/src/util/AllocatedString.hxx index db6f79d73..5f38a65b1 100644 --- a/src/util/AllocatedString.hxx +++ b/src/util/AllocatedString.hxx @@ -96,7 +96,7 @@ public: return *this; } - BasicAllocatedString &operator=(std::string_view src) noexcept { + BasicAllocatedString &operator=(string_view src) noexcept { delete[] std::exchange(value, nullptr); value = Duplicate(src); return *this;