signal: use std::identity instead of entt::identity

This commit is contained in:
skypjack
2025-11-25 15:28:39 +01:00
parent 311f6cac91
commit 2df0073f53
2 changed files with 2 additions and 2 deletions

View File

@@ -115,7 +115,7 @@ class basic_dispatcher {
using alloc_traits = std::allocator_traits<Allocator>;
using container_allocator = typename alloc_traits::template rebind_alloc<std::pair<const key_type, mapped_type>>;
using container_type = dense_map<key_type, mapped_type, identity, std::equal_to<>, container_allocator>;
using container_type = dense_map<key_type, mapped_type, std::identity, std::equal_to<>, container_allocator>;
template<typename Type>
[[nodiscard]] handler_type<Type> &assure(const id_type id) {

View File

@@ -39,7 +39,7 @@ class emitter {
using alloc_traits = std::allocator_traits<Allocator>;
using container_allocator = typename alloc_traits::template rebind_alloc<std::pair<const key_type, mapped_type>>;
using container_type = dense_map<key_type, mapped_type, identity, std::equal_to<>, container_allocator>;
using container_type = dense_map<key_type, mapped_type, std::identity, std::equal_to<>, container_allocator>;
public:
/*! @brief Allocator type. */