Skip to content

Commit

Permalink
DPL: make helper for typeId consteval
Browse files Browse the repository at this point in the history
  • Loading branch information
ktf committed Mar 13, 2024
1 parent 206c68b commit fed0d4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Framework/Foundation/include/Framework/TypeIdHelpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ constexpr static std::string_view type_name()

struct TypeIdHelpers {
template <typename T>
constexpr static uint32_t uniqueId()
consteval static uint32_t uniqueId()
{
#ifdef __CLING__
constexpr uint32_t r = crc32(unique_type_id_v<T>.data(), unique_type_id_v<T>.size());
Expand Down

0 comments on commit fed0d4a

Please sign in to comment.