diff --git a/src/memory/resource.h b/src/memory/resource.h index 7002239..7208f2b 100644 --- a/src/memory/resource.h +++ b/src/memory/resource.h @@ -30,7 +30,7 @@ struct chunk_mapping_policy { }; constexpr static std::size_t classify(std::size_t size) { - return (size <= base_size) ? 0 : classes_size; + return (size <= base_size) ? 0 : static_cast(classes_size); } }; @@ -52,7 +52,7 @@ using chunk_variable_alloc = variable_alloc using static_async_fixed = - static_wrapper, detail::chunk_alloc_recoverer>>; + static_wrapper/*, detail::chunk_alloc_recoverer*/>>; using async_pool_alloc = variable_wrapper; //using async_pool_alloc = static_wrapper>;