Boost logo

Boost-Commit :

From: xushiweizh_at_[hidden]
Date: 2008-04-30 15:14:48


Author: xushiwei
Date: 2008-04-30 15:14:48 EDT (Wed, 30 Apr 2008)
New Revision: 44940
URL: http://svn.boost.org/trac/boost/changeset/44940

Log:
issue issue #1879:
stl_allocator::_Getalloc -> inner_GetAlloc

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

Modified: sandbox/memory/boost/memory.hpp
==============================================================================
--- sandbox/memory/boost/memory.hpp (original)
+++ sandbox/memory/boost/memory.hpp 2008-04-30 15:14:48 EDT (Wed, 30 Apr 2008)
@@ -63,7 +63,7 @@
         stl_allocator(AllocT& alloc) : m_alloc(&alloc) {}
 
     template <class U>
- stl_allocator(const stl_allocator<U, AllocT>& rhs) : m_alloc(rhs._Getalloc()) {}
+ stl_allocator(const stl_allocator<U, AllocT>& rhs) : m_alloc(rhs.inner_GetAlloc()) {}
 
         pointer allocate(size_type count, const void* = NULL)
                 { return (pointer)m_alloc->allocate(count * sizeof(Type)); }
@@ -78,7 +78,7 @@
         char* _Charalloc(size_type cb)
                 { return (char*)m_alloc->allocate(cb); }
 
- AllocT* _Getalloc() const { return m_alloc; }
+ AllocT* inner_GetAlloc() const { return m_alloc; }
 };
 
 #if defined(BOOST_MEMORY_SUPPORT_PARTIAL_TEMPLATE)


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