util/StringPointer: remove unnecessary operator!=()
The compiler must generate this implicitly from operator==().
This commit is contained in:
parent
0e4885c1fa
commit
bc758cece0
@ -31,10 +31,6 @@ public:
|
|||||||
return value == nullptr;
|
return value == nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
constexpr bool operator!=(std::nullptr_t) const noexcept {
|
|
||||||
return value != nullptr;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if this is a "nulled" instance. A "nulled" instance
|
* Check if this is a "nulled" instance. A "nulled" instance
|
||||||
* must not be used.
|
* must not be used.
|
||||||
|
Loading…
Reference in New Issue
Block a user