dispatcher: minor changes
This commit is contained in:
@@ -122,7 +122,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<id_type, mapped_type, identity, std::equal_to<id_type>, container_allocator>;
|
||||
using container_type = dense_map<key_type, mapped_type, identity, std::equal_to<key_type>, container_allocator>;
|
||||
|
||||
template<typename Type>
|
||||
[[nodiscard]] handler_type<Type> &assure(const id_type id) {
|
||||
|
||||
Reference in New Issue
Block a user