util/AllocatedArray: remove unnecessary operator!=()
The compiler must generate this implicitly from operator==().
This commit is contained in:
parent
8e42467bd2
commit
58a5550439
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue