From 576880ee9aaa374b29bdbbea875d2b765a4bb288 Mon Sep 17 00:00:00 2001 From: Oliver Kowalke Date: Fri, 13 May 2016 20:16:09 +0200 Subject: [PATCH] replace fast_pool_allocator by std::allocator --- include/boost/fiber/bounded_channel.hpp | 8 +------- include/boost/fiber/unbounded_channel.hpp | 6 +----- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/include/boost/fiber/bounded_channel.hpp b/include/boost/fiber/bounded_channel.hpp index cac4918e..b4c359e7 100644 --- a/include/boost/fiber/bounded_channel.hpp +++ b/include/boost/fiber/bounded_channel.hpp @@ -18,8 +18,6 @@ #include #include -#include -#include #include #include @@ -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: diff --git a/include/boost/fiber/unbounded_channel.hpp b/include/boost/fiber/unbounded_channel.hpp index e044b342..fe86042a 100644 --- a/include/boost/fiber/unbounded_channel.hpp +++ b/include/boost/fiber/unbounded_channel.hpp @@ -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: