Ticket #3579: ptr_container.diff
File ptr_container.diff, 1.9 KB (added by , 13 years ago) |
---|
-
ptr_sequence_adapter.hpp
519 519 { 520 520 for( ; old_size != size; ++old_size ) 521 521 this->push_back( new BOOST_DEDUCED_TYPENAME 522 boost::remove_pointer<value_type>::type );522 boost::remove_pointer<value_type>::type() ); 523 523 } 524 524 525 525 BOOST_ASSERT( this->size() == size ); … … 553 553 { 554 554 for( ; old_size != size; ++old_size ) 555 555 this->push_front( new BOOST_DEDUCED_TYPENAME 556 boost::remove_pointer<value_type>::type );556 boost::remove_pointer<value_type>::type() ); 557 557 } 558 558 559 559 BOOST_ASSERT( this->size() == size ); -
ptr_circular_buffer.hpp
191 191 { 192 192 for( ; old_size != size; ++old_size ) 193 193 this->push_back( new BOOST_DEDUCED_TYPENAME 194 boost::remove_pointer<value_type>::type );194 boost::remove_pointer<value_type>::type() ); 195 195 } 196 196 197 197 BOOST_ASSERT( this->size() == size ); … … 225 225 { 226 226 for( ; old_size != size; ++old_size ) 227 227 this->push_front( new BOOST_DEDUCED_TYPENAME 228 boost::remove_pointer<value_type>::type );228 boost::remove_pointer<value_type>::type() ); 229 229 } 230 230 231 231 BOOST_ASSERT( this->size() == size );