fix background memory pool destruction

This commit is contained in:
Francisco 2021-04-02 15:32:39 +01:00 committed by Francisco Paisana
parent b004c2024d
commit 62a6d9a8dc
1 changed files with 5 additions and 2 deletions

View File

@ -145,8 +145,11 @@ private:
} // namespace detail
template <typename T, size_t BatchSize, size_t ThresholdSize>
using background_mem_pool =
detail::base_background_pool<T, BatchSize, ThresholdSize, detail::noop_operator, detail::noop_operator>;
using background_mem_pool = detail::base_background_pool<detail::type_storage<T>,
BatchSize,
ThresholdSize,
detail::noop_operator,
detail::noop_operator>;
template <typename T,
size_t BatchSize,