Преглед изворни кода

doc: do not refer to meta_prop anymore

Michele Caini пре 1 година
родитељ
комит
42bae0d8b3
1 измењених фајлова са 7 додато и 3 уклоњено
  1. 7 3
      src/entt/meta/meta.hpp

+ 7 - 3
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));
     }