meta: avoid using meta_any::resolve when comparing
This commit is contained in:
@@ -583,7 +583,7 @@ public:
|
||||
|
||||
/*! @copydoc any::operator== */
|
||||
[[nodiscard]] bool operator==(const meta_any &other) const noexcept {
|
||||
return (ctx == other.ctx) && (resolve == other.resolve) && (storage == other.storage);
|
||||
return (ctx == other.ctx) && (!!*this ^ !other) && (storage == other.storage);
|
||||
}
|
||||
|
||||
/*! @copydoc any::operator!= */
|
||||
|
||||
Reference in New Issue
Block a user