Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52627 - trunk/boost/signals2/detail
From: fmhess_at_[hidden]
Date: 2009-04-27 09:07:51


Author: fmhess
Date: 2009-04-27 09:07:50 EDT (Mon, 27 Apr 2009)
New Revision: 52627
URL: http://svn.boost.org/trac/boost/changeset/52627

Log:
Trying to fix compile problems on msvc 9 in release mode.

Text files modified:
   trunk/boost/signals2/detail/stack_allocator.hpp | 4 ++++
   1 files changed, 4 insertions(+), 0 deletions(-)

Modified: trunk/boost/signals2/detail/stack_allocator.hpp
==============================================================================
--- trunk/boost/signals2/detail/stack_allocator.hpp (original)
+++ trunk/boost/signals2/detail/stack_allocator.hpp 2009-04-27 09:07:50 EDT (Mon, 27 Apr 2009)
@@ -58,6 +58,10 @@
           _storage(storage)
         {
         }
+ template<typename U, std::size_t n>
+ stack_allocator(const stack_allocator<U, n> & other):
+ _storage(0)
+ {}
         typename base_class::pointer allocate(typename base_class::size_type n_elements,
           std::allocator<void>::const_pointer hint = 0)
         {


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk