dispatcher: minor changes

This commit is contained in:
Michele Caini
2022-10-08 17:08:32 +02:00
parent a1a8e134d2
commit 46d6625467

View File

@@ -131,7 +131,7 @@ class basic_dispatcher {
auto &&ptr = pools.first()[id];
if(!ptr) {
const auto &allocator = pools.second();
const auto &allocator = get_allocator();
ptr = std::allocate_shared<handler_type<Type>>(allocator, allocator);
}