Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r66230 - sandbox/function/boost/function
From: dsaritz_at_[hidden]
Date: 2010-10-28 10:25:06


Author: psiha
Date: 2010-10-28 10:25:06 EDT (Thu, 28 Oct 2010)
New Revision: 66230
URL: http://svn.boost.org/trac/boost/changeset/66230

Log:
Fixed a compilation error.
Text files modified:
   sandbox/function/boost/function/function_base.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: sandbox/function/boost/function/function_base.hpp
==============================================================================
--- sandbox/function/boost/function/function_base.hpp (original)
+++ sandbox/function/boost/function/function_base.hpp 2010-10-28 10:25:06 EDT (Thu, 28 Oct 2010)
@@ -779,7 +779,7 @@
               original_allocator .destroy( original_allocator .address( in_functor_and_allocator.functor () ) );
               allocator_allocator.destroy( allocator_allocator.address( in_functor_and_allocator.allocator() ) );
 
- full_allocator.deallocate( full_allocator.address( in_functor_and_allocator ) );
+ full_allocator.deallocate( full_allocator.address( in_functor_and_allocator ), 1 );
               debug_clear( buffer );
           }
 


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