From 42bae0d8b3f1fd48acb94facf8b2091f8e2c851d Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Sun, 27 Oct 2024 22:37:02 +0100 Subject: [PATCH] doc: do not refer to meta_prop anymore --- src/entt/meta/meta.hpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/entt/meta/meta.hpp b/src/entt/meta/meta.hpp index b250feda3..78d0539ee 100644 --- a/src/entt/meta/meta.hpp +++ b/src/entt/meta/meta.hpp @@ -983,7 +983,11 @@ struct meta_data { return (node != nullptr); } - /*! @copydoc meta_prop::operator== */ + /** + * @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. + */ [[nodiscard]] bool operator==(const meta_data &other) const noexcept { return (ctx == other.ctx && node == other.node); } @@ -1109,7 +1113,7 @@ struct meta_func { return (node != nullptr); } - /*! @copydoc meta_prop::operator== */ + /*! @copydoc meta_data::operator== */ [[nodiscard]] bool operator==(const meta_func &other) const noexcept { return (ctx == other.ctx && node == other.node); } @@ -1576,7 +1580,7 @@ public: return !(ctx == nullptr); } - /*! @copydoc meta_prop::operator== */ + /*! @copydoc meta_data::operator== */ [[nodiscard]] bool operator==(const meta_type &other) const noexcept { return (ctx == other.ctx) && (((node.info == nullptr) && (other.node.info == nullptr)) || ((node.info != nullptr) && (other.node.info != nullptr) && *node.info == *other.node.info)); }