mirror of
https://github.com/boostorg/fiber.git
synced 2026-02-21 02:52:18 +00:00
replace fast_pool_allocator by std::allocator
This commit is contained in:
@@ -18,8 +18,6 @@
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include <boost/intrusive_ptr.hpp>
|
||||
#include <boost/pool/pool.hpp>
|
||||
#include <boost/pool/pool_alloc.hpp>
|
||||
|
||||
#include <boost/fiber/exceptions.hpp>
|
||||
#include <boost/fiber/exceptions.hpp>
|
||||
@@ -35,11 +33,7 @@ namespace boost {
|
||||
namespace fibers {
|
||||
|
||||
template< typename T,
|
||||
typename Allocator = fast_pool_allocator<
|
||||
T,
|
||||
default_user_allocator_malloc_free,
|
||||
detail::spinlock
|
||||
>
|
||||
typename Allocator = std::allocator< T >
|
||||
>
|
||||
class bounded_channel {
|
||||
public:
|
||||
|
||||
@@ -33,11 +33,7 @@ namespace boost {
|
||||
namespace fibers {
|
||||
|
||||
template< typename T,
|
||||
typename Allocator = fast_pool_allocator<
|
||||
T,
|
||||
default_user_allocator_malloc_free,
|
||||
detail::spinlock
|
||||
>
|
||||
typename Allocator = std::allocator< T >
|
||||
>
|
||||
class unbounded_channel {
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user