sparse set: remove deprecated functions
This commit is contained in:
@@ -1086,11 +1086,6 @@ public:
|
||||
return *descriptor;
|
||||
}
|
||||
|
||||
/*! @copydoc info */
|
||||
[[deprecated("use ::info instead")]] [[nodiscard]] const type_info &type() const noexcept {
|
||||
return info();
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Forwards variables to derived classes, if any.
|
||||
* @tparam Type Type of the element to forward.
|
||||
|
||||
@@ -64,7 +64,7 @@ TYPED_TEST(SparseSet, Constructors) {
|
||||
|
||||
ASSERT_EQ(set.policy(), entt::deletion_policy::swap_and_pop);
|
||||
ASSERT_NO_THROW([[maybe_unused]] auto alloc = set.get_allocator());
|
||||
ASSERT_EQ(set.type(), entt::type_id<void>());
|
||||
ASSERT_EQ(set.info(), entt::type_id<void>());
|
||||
|
||||
set = sparse_set_type{policy, allocator_type{}};
|
||||
|
||||
@@ -76,7 +76,7 @@ TYPED_TEST(SparseSet, Constructors) {
|
||||
|
||||
ASSERT_EQ(set.policy(), policy);
|
||||
ASSERT_NO_THROW([[maybe_unused]] auto alloc = set.get_allocator());
|
||||
ASSERT_EQ(set.type(), entt::type_id<int>());
|
||||
ASSERT_EQ(set.info(), entt::type_id<int>());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user