util/AllocatedString: remove unnecessary operator!=()

The compiler must generate this implicitly from operator==().
This commit is contained in:
Max Kellermann 2024-07-22 16:52:38 +02:00 committed by Max Kellermann
parent 58a5550439
commit 9944c97203
1 changed files with 0 additions and 4 deletions

View File

@ -99,10 +99,6 @@ public:
return value == nullptr;
}
constexpr bool operator!=(std::nullptr_t) const noexcept {
return value != nullptr;
}
operator string_view() const noexcept {
return value != nullptr
? string_view(value)