diff --git a/src/memory/resource.h b/src/memory/resource.h index 7e901db..604f67e 100644 --- a/src/memory/resource.h +++ b/src/memory/resource.h @@ -17,27 +17,7 @@ namespace ipc { namespace mem { -template -using static_sync_fixed = static_wrapper>>; - -namespace detail { - -struct chunk_mapping_policy { - - enum : std::size_t { - base_size = sizeof(void*) * 1024 * 1024, /* 8MB(x64) */ - classes_size = 1 - }; - - constexpr static std::size_t classify(std::size_t size) { - return (size <= base_size) ? 0 : static_cast(classes_size); - } -}; - -} // namespace detail - -using static_chunk_alloc = variable_wrapper; -using chunk_variable_alloc = variable_alloc; +using chunk_variable_alloc = variable_alloc; template using static_async_fixed = static_wrapper>>;