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