also define name for message comps
This commit is contained in:
parent
d5c1bf07db
commit
25857b8aa7
@ -8,6 +8,10 @@ template<> \
|
|||||||
constexpr entt::id_type entt::type_hash<x>::value() noexcept { \
|
constexpr entt::id_type entt::type_hash<x>::value() noexcept { \
|
||||||
using namespace entt::literals; \
|
using namespace entt::literals; \
|
||||||
return #x##_hs; \
|
return #x##_hs; \
|
||||||
|
} \
|
||||||
|
template<> \
|
||||||
|
constexpr std::string_view entt::type_name<x>::value() noexcept { \
|
||||||
|
return #x; \
|
||||||
}
|
}
|
||||||
|
|
||||||
// cross compile(r) stable ids
|
// cross compile(r) stable ids
|
||||||
|
Loading…
Reference in New Issue
Block a user