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;