From 7a626563f73cc2caba24a9e7462b963cbb2903fb Mon Sep 17 00:00:00 2001 From: Oliver Kowalke Date: Fri, 28 Feb 2014 20:45:03 +0100 Subject: [PATCH] add missing std::allocator<> to fiber ctor --- include/boost/fiber/fiber.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/fiber/fiber.hpp b/include/boost/fiber/fiber.hpp index 9accd97e..939e74bd 100644 --- a/include/boost/fiber/fiber.hpp +++ b/include/boost/fiber/fiber.hpp @@ -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<