Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r57247 - trunk/boost/ptr_container
From: nesotto_at_[hidden]
Date: 2009-10-30 10:42:34


Author: nesotto
Date: 2009-10-30 10:42:33 EDT (Fri, 30 Oct 2009)
New Revision: 57247
URL: http://svn.boost.org/trac/boost/changeset/57247

Log:
https://svn.boost.org/trac/boost/ticket/3579
Text files modified:
   trunk/boost/ptr_container/ptr_circular_buffer.hpp | 4 ++--
   trunk/boost/ptr_container/ptr_sequence_adapter.hpp | 4 ++--
   2 files changed, 4 insertions(+), 4 deletions(-)

Modified: trunk/boost/ptr_container/ptr_circular_buffer.hpp
==============================================================================
--- trunk/boost/ptr_container/ptr_circular_buffer.hpp (original)
+++ trunk/boost/ptr_container/ptr_circular_buffer.hpp 2009-10-30 10:42:33 EDT (Fri, 30 Oct 2009)
@@ -191,7 +191,7 @@
             {
                 for( ; old_size != size; ++old_size )
                     this->push_back( new BOOST_DEDUCED_TYPENAME
- boost::remove_pointer<value_type>::type );
+ boost::remove_pointer<value_type>::type() );
             }
 
             BOOST_ASSERT( this->size() == size );
@@ -225,7 +225,7 @@
             {
                 for( ; old_size != size; ++old_size )
                     this->push_front( new BOOST_DEDUCED_TYPENAME
- boost::remove_pointer<value_type>::type );
+ boost::remove_pointer<value_type>::type() );
             }
 
             BOOST_ASSERT( this->size() == size );

Modified: trunk/boost/ptr_container/ptr_sequence_adapter.hpp
==============================================================================
--- trunk/boost/ptr_container/ptr_sequence_adapter.hpp (original)
+++ trunk/boost/ptr_container/ptr_sequence_adapter.hpp 2009-10-30 10:42:33 EDT (Fri, 30 Oct 2009)
@@ -519,7 +519,7 @@
             {
                 for( ; old_size != size; ++old_size )
                     this->push_back( new BOOST_DEDUCED_TYPENAME
- boost::remove_pointer<value_type>::type );
+ boost::remove_pointer<value_type>::type() );
             }
 
             BOOST_ASSERT( this->size() == size );
@@ -553,7 +553,7 @@
             {
                 for( ; old_size != size; ++old_size )
                     this->push_front( new BOOST_DEDUCED_TYPENAME
- boost::remove_pointer<value_type>::type );
+ boost::remove_pointer<value_type>::type() );
             }
 
             BOOST_ASSERT( this->size() == size );


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