Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r54477 - sandbox/monotonic/boost/ptr_container
From: christian.schladetsch_at_[hidden]
Date: 2009-06-28 17:54:26


Author: cschladetsch
Date: 2009-06-28 17:54:25 EDT (Sun, 28 Jun 2009)
New Revision: 54477
URL: http://svn.boost.org/trac/boost/changeset/54477

Log:
working on static_move_ptr, passing allocator

Text files modified:
   sandbox/monotonic/boost/ptr_container/ptr_sequence_adapter.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: sandbox/monotonic/boost/ptr_container/ptr_sequence_adapter.hpp
==============================================================================
--- sandbox/monotonic/boost/ptr_container/ptr_sequence_adapter.hpp (original)
+++ sandbox/monotonic/boost/ptr_container/ptr_sequence_adapter.hpp 2009-06-28 17:54:25 EDT (Sun, 28 Jun 2009)
@@ -260,7 +260,7 @@
         {
             this->enforce_null_policy( x, "Null pointer in 'push_front()'" );
 
- auto_type ptr( x ); // nothrow
+ auto_type ptr( x, this->base().get_allocator() ); // nothrow
             this->base().push_front( x ); // strong, commit
             ptr.release(); // nothrow
         }


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