util/StringPointer: remove unnecessary operator!=()

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

View File

@ -31,10 +31,6 @@ public:
return value == nullptr;
}
constexpr bool operator!=(std::nullptr_t) const noexcept {
return value != nullptr;
}
/**
* Check if this is a "nulled" instance. A "nulled" instance
* must not be used.