diff --git a/include/boost/detail/quick_allocator.hpp b/include/boost/detail/quick_allocator.hpp index f206b79..58cc1d8 100644 --- a/include/boost/detail/quick_allocator.hpp +++ b/include/boost/detail/quick_allocator.hpp @@ -32,17 +32,17 @@ namespace boost namespace detail { -template union freeblock +template union freeblock { - typedef typename boost::type_with_alignment::type aligner_type; + typedef typename boost::type_with_alignment::type aligner_type; aligner_type aligner; char bytes[size]; freeblock * next; }; -template struct allocator_impl +template struct allocator_impl { - typedef freeblock block; + typedef freeblock block; // It may seem odd to use such small pages. // @@ -162,18 +162,18 @@ template struct allocator_impl }; #ifdef BOOST_HAS_THREADS -template - lightweight_mutex allocator_impl::mutex; +template + lightweight_mutex allocator_impl::mutex; #endif -template - freeblock * allocator_impl::free = 0; +template + freeblock * allocator_impl::free = 0; -template - freeblock * allocator_impl::page = 0; +template + freeblock * allocator_impl::page = 0; -template - unsigned allocator_impl::last = allocator_impl::items_per_page; +template + unsigned allocator_impl::last = allocator_impl::items_per_page; template struct quick_allocator: public allocator_impl< sizeof(T), boost::alignment_of::value >