summaryrefslogtreecommitdiffstats
path: root/indexlib/mempool.h
diff options
context:
space:
mode:
Diffstat (limited to 'indexlib/mempool.h')
-rw-r--r--indexlib/mempool.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/indexlib/mempool.h b/indexlib/mempool.h
index 95416f080..fca5596d5 100644
--- a/indexlib/mempool.h
+++ b/indexlib/mempool.h
@@ -114,20 +114,20 @@ struct mempool /* : boost::noncopyable */ {
friend struct list_node_manager;
struct list_node_manager {
protected:
- const mempool* tqparent_;
+ const mempool* parent_;
public:
- explicit list_node_manager( const mempool* p = 0 ):tqparent_( p ) {}
+ explicit list_node_manager( const mempool* p = 0 ):parent_( p ) {}
void* rw_base( unsigned idx ) const {
- return tqparent_->manager_->rw_base( idx );
+ return parent_->manager_->rw_base( idx );
}
const void* ronly_base( unsigned idx ) const {
- return tqparent_->manager_->ronly_base( idx );
+ return parent_->manager_->ronly_base( idx );
}
};
START_THING( list_node, thing<list_node_manager> )
- void set_tqparent( const mempool* p ) { this->tqparent_ = p; }
+ void set_tqparent( const mempool* p ) { this->parent_ = p; }
MEMBER( uint16_t, order, 0 )
MEMBER( uint32_t, next, 2 )
MEMBER( uint32_t, prev, 6 )