Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r75777 - trunk/boost/signals2/detail
From: fmhess_at_[hidden]
Date: 2011-12-03 00:48:00


Author: fmhess
Date: 2011-12-03 00:47:59 EST (Sat, 03 Dec 2011)
New Revision: 75777
URL: http://svn.boost.org/trac/boost/changeset/75777

Log:
Fix for reported clang compile error. Refs #6198.

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

Modified: trunk/boost/signals2/detail/auto_buffer.hpp
==============================================================================
--- trunk/boost/signals2/detail/auto_buffer.hpp (original)
+++ trunk/boost/signals2/detail/auto_buffer.hpp 2011-12-03 00:47:59 EST (Sat, 03 Dec 2011)
@@ -562,7 +562,7 @@
               buffer_( allocate(members_.capacity_) ),
               size_( 0 )
         {
- std::uninitialized_fill( buffer_, buffer_ + size, init_value );
+ std::uninitialized_fill( buffer_, buffer_ + size_arg, init_value );
             size_ = size_arg;
             BOOST_ASSERT( is_valid() );
         }


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