may have memory leak (TBD)

This commit is contained in:
mutouyun 2019-07-03 23:14:43 +08:00
parent b3ef1ed760
commit 9bc6604faa

View File

@ -22,7 +22,7 @@ using chunk_variable_alloc = variable_alloc<sizeof(void*) * 256 * 1024 /* 2MB(x6
template <std::size_t Size>
using static_async_fixed = static_wrapper<async_wrapper<fixed_alloc<Size, chunk_variable_alloc>>>;
using async_pool_alloc = variable_wrapper<static_async_fixed>;
using async_pool_alloc = static_alloc/*variable_wrapper<static_async_fixed>*/;
template <typename T>
using allocator = allocator_wrapper<T, async_pool_alloc>;