Browse Source

doc: minor changes

Michele Caini 2 years ago
parent
commit
966efd2397
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/entt/meta/meta.hpp

+ 2 - 0
src/entt/meta/meta.hpp

@@ -1322,6 +1322,7 @@ public:
 
 
     /**
     /**
      * @brief Checks if a type supports direct casting to another type.
      * @brief Checks if a type supports direct casting to another type.
+     * @param other The meta type to test for.
      * @return True if direct casting is allowed, false otherwise.
      * @return True if direct casting is allowed, false otherwise.
      */
      */
     [[nodiscard]] bool can_cast(const meta_type &other) const noexcept {
     [[nodiscard]] bool can_cast(const meta_type &other) const noexcept {
@@ -1331,6 +1332,7 @@ public:
 
 
     /**
     /**
      * @brief Checks if a type supports conversion it to another type.
      * @brief Checks if a type supports conversion it to another type.
+     * @param other The meta type to test for.
      * @return True if the conversion is allowed, false otherwise.
      * @return True if the conversion is allowed, false otherwise.
      */
      */
     [[nodiscard]] bool can_convert(const meta_type &other) const noexcept {
     [[nodiscard]] bool can_convert(const meta_type &other) const noexcept {