Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r55260 - branches/release/boost/circular_buffer
From: jano_gaspar_at_[hidden]
Date: 2009-07-30 14:44:42


Author: jano_gaspar
Date: 2009-07-29 09:20:21 EDT (Wed, 29 Jul 2009)
New Revision: 55260
URL: http://svn.boost.org/trac/boost/changeset/55260

Log:
circular_buffer: #3285
Text files modified:
   branches/release/boost/circular_buffer/base.hpp | 6 +++++-
   1 files changed, 5 insertions(+), 1 deletions(-)

Modified: branches/release/boost/circular_buffer/base.hpp
==============================================================================
--- branches/release/boost/circular_buffer/base.hpp (original)
+++ branches/release/boost/circular_buffer/base.hpp 2009-07-29 09:20:21 EDT (Wed, 29 Jul 2009)
@@ -1067,7 +1067,11 @@
              Linear (in the size of <code>cb</code>).
     */
     circular_buffer(const circular_buffer<T, Alloc>& cb)
- : m_size(cb.size()), m_alloc(cb.get_allocator()) {
+ :
+#if BOOST_CB_ENABLE_DEBUG
+ debug_iterator_registry(),
+#endif
+ m_size(cb.size()), m_alloc(cb.get_allocator()) {
         initialize_buffer(cb.capacity());
         m_first = m_buff;
         BOOST_TRY {


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