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: