From 88dbca3a8f435eecfb17423a893a15571ef2537c Mon Sep 17 00:00:00 2001 From: Oliver Kowalke Date: Sat, 24 Nov 2012 11:41:04 +0100 Subject: [PATCH] fix typos on MSVC branch --- boost/fiber/fiber.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/boost/fiber/fiber.hpp b/boost/fiber/fiber.hpp index 2576018e..b569afd6 100644 --- a/boost/fiber/fiber.hpp +++ b/boost/fiber/fiber.hpp @@ -80,13 +80,13 @@ public: explicit fiber( fiber_fn fn, attributes const& attr = attributes(), stack_allocator const& stack_alloc = stack_allocator(), - std::allocacator< fiber > const& alloc = std::allocator< fiber >() ) : + std::allocator< fiber > const& alloc = std::allocator< fiber >() ) : impl_() { typedef detail::fiber_object< fiber_fn, stack_allocator, std::allocator< fiber > > object_t; - typename object_t::allocator_t a( alloc); + object_t::allocator_t a( alloc); impl_ = ptr_t( // placement new ::new( a.allocate( 1) ) object_t( forward< fiber_fn >( fn), attr, stack_alloc, a) ); @@ -96,13 +96,13 @@ public: template< typename StackAllocator > explicit fiber( fiber_fn fn, attributes const& attr, StackAllocator const& stack_alloc, - std::allocacator< fiber > const& alloc = std::allocator< fiber >() ) : + std::allocator< fiber > const& alloc = std::allocator< fiber >() ) : impl_() { typedef detail::fiber_object< fiber_fn, StackAllocator, std::allocator< fiber > > object_t; - typename object_t::allocator_t a( alloc); + object_t::allocator_t a( alloc); impl_ = ptr_t( // placement new ::new( a.allocate( 1) ) object_t( forward< fiber_fn >( fn), attr, stack_alloc, a) ); @@ -112,13 +112,13 @@ public: template< typename StackAllocator, typename Allocator > explicit fiber( fiber_fn fn, attributes const& attr, StackAllocator const& stack_alloc, - Allocacator const& alloc) : + Allocator const& alloc) : impl_() { typedef detail::fiber_object< fiber_fn, StackAllocator, Allocator > object_t; - typename object_t::allocator_t a( alloc); + object_t::allocator_t a( alloc); impl_ = ptr_t( // placement new ::new( a.allocate( 1) ) object_t( forward< fiber_fn >( fn), attr, stack_alloc, a) );