util/AllocatedArray: remove unnecessary operator!=()

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

View File

@ -100,10 +100,6 @@ public:
return buffer.data() == nullptr;
}
constexpr bool operator!=(std::nullptr_t) const noexcept {
return buffer.data() != nullptr;
}
/**
* Returns true if no memory was allocated so far.
*/