dispatcher: minor changes

This commit is contained in:
Michele Caini
2022-07-18 14:28:59 +02:00
parent 97c0582765
commit 2146e3ded9

View File

@@ -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) {