Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52675 - sandbox/memory/boost/memory
From: xushiweizh_at_[hidden]
Date: 2009-04-30 05:23:08


Author: xushiwei
Date: 2009-04-30 05:23:07 EDT (Thu, 30 Apr 2009)
New Revision: 52675
URL: http://svn.boost.org/trac/boost/changeset/52675

Log:
remove: object_pool::get_pool()
Text files modified:
   sandbox/memory/boost/memory/object_pool.hpp | 11 -----------
   1 files changed, 0 insertions(+), 11 deletions(-)

Modified: sandbox/memory/boost/memory/object_pool.hpp
==============================================================================
--- sandbox/memory/boost/memory/object_pool.hpp (original)
+++ sandbox/memory/boost/memory/object_pool.hpp 2009-04-30 05:23:07 EDT (Thu, 30 Apr 2009)
@@ -63,7 +63,6 @@
         }
         
 public:
- typedef PoolT pool_type;
         typedef AllocT alloc_type;
         
 public:
@@ -85,11 +84,6 @@
                 clear();
         }
 
- pool_type& BOOST_MEMORY_CALL get_pool()
- {
- return *this;
- }
-
 private:
         void BOOST_MEMORY_CALL do_clear_block_(MemBlock* const blk)
         {
@@ -165,7 +159,6 @@
         typedef typename PoolT::alloc_type AllocT;
 
 public:
- typedef PoolT pool_type;
         typedef AllocT alloc_type;
 
 public:
@@ -179,10 +172,6 @@
                 : PoolT(alloc, sizeof(Type)) {
         }
 
- pool_type& BOOST_MEMORY_CALL get_pool() {
- return *this;
- }
-
 #if defined(BOOST_MEMORY_NO_STRICT_EXCEPTION_SEMANTICS)
         __forceinline void* BOOST_MEMORY_CALL allocate(size_t cb, int fnZero) {
                 BOOST_MEMORY_ASSERT(cb == sizeof(Type));


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