Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r55203 - trunk/boost/circular_buffer
From: jano_gaspar_at_[hidden]
Date: 2009-07-30 14:43:16


Author: jano_gaspar
Date: 2009-07-27 07:50:24 EDT (Mon, 27 Jul 2009)
New Revision: 55203
URL: http://svn.boost.org/trac/boost/changeset/55203

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

Modified: trunk/boost/circular_buffer/base.hpp
==============================================================================
--- trunk/boost/circular_buffer/base.hpp (original)
+++ trunk/boost/circular_buffer/base.hpp 2009-07-27 07:50:24 EDT (Mon, 27 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