Browse Source

doc: minor changes

Michele Caini 5 years ago
parent
commit
306178f371
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/entt/core/type_traits.hpp

+ 3 - 3
src/entt/core/type_traits.hpp

@@ -241,7 +241,7 @@ using member_class_t = typename member_class<Member>::type;
 
 
 
 
 #define ENTT_OPAQUE_TYPE(clazz, type)\
 #define ENTT_OPAQUE_TYPE(clazz, type)\
-    /*!\
+    /**\
        @brief Defines an enum class to use for opaque identifiers and a\
        @brief Defines an enum class to use for opaque identifiers and a\
        dedicate `to_integral` function to convert the identifiers to their\
        dedicate `to_integral` function to convert the identifiers to their\
        underlying type.\
        underlying type.\
@@ -249,10 +249,10 @@ using member_class_t = typename member_class<Member>::type;
        @param type The underlying type for the enum class.\
        @param type The underlying type for the enum class.\
      */\
      */\
     enum class clazz: type {};\
     enum class clazz: type {};\
-    /*!\
+    /**\
        @brief Converts an opaque type value to its underlying type.\
        @brief Converts an opaque type value to its underlying type.\
        @param id The value to convert.\
        @param id The value to convert.\
-       @return The integral representation of the given value.
+       @return The integral representation of the given value.\
      */\
      */\
     [[nodiscard]] constexpr auto to_integral(const clazz id) ENTT_NOEXCEPT {\
     [[nodiscard]] constexpr auto to_integral(const clazz id) ENTT_NOEXCEPT {\
         return static_cast<std::underlying_type_t<clazz>>(id);\
         return static_cast<std::underlying_type_t<clazz>>(id);\