2
0
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:
Oliver Kowalke
2016-05-13 20:16:09 +02:00
parent 310f3ce2f2
commit 576880ee9a
2 changed files with 2 additions and 12 deletions

View File

@@ -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:

View File

@@ -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: