Ver Fonte

doc: make doxygen happy again

Michele Caini há 1 ano atrás
pai
commit
84583d9a40
1 ficheiros alterados com 5 adições e 1 exclusões
  1. 5 1
      src/entt/meta/meta.hpp

+ 5 - 1
src/entt/meta/meta.hpp

@@ -1405,7 +1405,11 @@ public:
         return ((elem != nullptr) && (node.from_void != nullptr)) ? node.from_void(*ctx, elem, transfer_ownership ? elem : nullptr) : meta_any{meta_ctx_arg, *ctx};
     }
 
-    /*! @copydoc from_void */
+    /**
+     * @brief Wraps an opaque element of the underlying type.
+     * @param elem A valid pointer to an element of the underlying type.
+     * @return A wrapper that references the given instance.
+     */
     [[nodiscard]] meta_any from_void(const void *elem) const {
         return ((elem != nullptr) && (node.from_void != nullptr)) ? node.from_void(*ctx, nullptr, elem) : meta_any{meta_ctx_arg, *ctx};
     }