Skip to content

Commit

Permalink
docs(core): clear up 'given type' comments
Browse files Browse the repository at this point in the history
  • Loading branch information
RiscadoA committed Sep 5, 2023
1 parent f02b3a5 commit 1402fe5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/include/cubos/core/reflection/type.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ namespace cubos::core::reflection
/// @return Pointer to the trait.
const void* get(uintptr_t id) const;

/// @brief Gets an unique identifier for the given type.
/// @brief Gets an unique identifier for the given trait type.
/// @note This function is used as an alternative to `std::type_index`, which would require
/// including the `<typeindex>` header.
/// @tparam T %Trait type.
/// @return Unique identifier for the given type.
/// @return Unique identifier for the given trait type.
template <typename T>
static uintptr_t id()
{
Expand Down

0 comments on commit 1402fe5

Please sign in to comment.