registry: don't pass the allocator to the fake storage

This commit is contained in:
Michele Caini
2022-09-28 12:54:06 +02:00
parent 5ab0f9e4c0
commit 9470133e33

View File

@@ -329,7 +329,7 @@ class basic_registry {
return static_cast<const storage_for_type<Type> &>(*it->second);
}
static storage_for_type<Type> placeholder{get_allocator()};
static storage_for_type<Type> placeholder{};
return placeholder;
}