2
0
mirror of https://github.com/boostorg/fiber.git synced 2026-02-18 14:02:18 +00:00

add missing std::allocator<> to fiber ctor

This commit is contained in:
Oliver Kowalke
2014-02-28 20:45:03 +01:00
parent 486879ace9
commit 7a626563f7

View File

@@ -73,7 +73,8 @@ public:
typedef void ( * fiber_fn)();
explicit fiber( fiber_fn fn, attributes const& attr = attributes(),
stack_allocator const& stack_alloc = stack_allocator() ) :
stack_allocator const& stack_alloc = stack_allocator(),
std::allocator< fiber > const& alloc = std::allocator< fiber >() ) :
impl_()
{
typedef detail::fiber_object<