util/AllocatedString: work around bogus gcc6 warning
This commit is contained in:
parent
f26159a0e3
commit
a67b7266ed
|
@ -103,12 +103,12 @@ public:
|
|||
return *this;
|
||||
}
|
||||
|
||||
constexpr bool operator==(std::nullptr_t other) const {
|
||||
return value == other;
|
||||
constexpr bool operator==(std::nullptr_t) const {
|
||||
return value == nullptr;
|
||||
}
|
||||
|
||||
constexpr bool operator!=(std::nullptr_t other) const {
|
||||
return value != other;
|
||||
constexpr bool operator!=(std::nullptr_t) const {
|
||||
return value != nullptr;
|
||||
}
|
||||
|
||||
constexpr bool IsNull() const {
|
||||
|
|
Loading…
Reference in New Issue