Commit a67b7266 authored by Max Kellermann's avatar Max Kellermann

util/AllocatedString: work around bogus gcc6 warning

parent f26159a0
...@@ -103,12 +103,12 @@ public: ...@@ -103,12 +103,12 @@ public:
return *this; return *this;
} }
constexpr bool operator==(std::nullptr_t other) const { constexpr bool operator==(std::nullptr_t) const {
return value == other; return value == nullptr;
} }
constexpr bool operator!=(std::nullptr_t other) const { constexpr bool operator!=(std::nullptr_t) const {
return value != other; return value != nullptr;
} }
constexpr bool IsNull() const { constexpr bool IsNull() const {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment