type info: revised to support opaque type info objects (contains breaking changes)
This commit is contained in:
@@ -7,9 +7,9 @@
|
||||
inline static type_context *context;
|
||||
|
||||
template<typename Type>
|
||||
struct entt::type_index<Type> {
|
||||
struct entt::type_seq<Type> {
|
||||
[[nodiscard]] static id_type value() ENTT_NOEXCEPT {
|
||||
static const entt::id_type value = context->value(type_info<Type>::id());
|
||||
static const entt::id_type value = context->value(entt::type_hash<Type>::value());
|
||||
return value;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user