meta: minor changes
This commit is contained in:
@@ -1545,11 +1545,7 @@ public:
|
||||
return !(ctx == nullptr);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Checks if two objects refer to the same type.
|
||||
* @param other The object with which to compare.
|
||||
* @return True if the objects refer to the same type, false otherwise.
|
||||
*/
|
||||
/*! @copydoc meta_prop::operator== */
|
||||
[[nodiscard]] bool operator==(const meta_type &other) const noexcept {
|
||||
return (ctx == other.ctx) && ((!node.info && !other.node.info) || (node.info && other.node.info && *node.info == *other.node.info));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user