summaryrefslogtreecommitdiffstats
path: root/indexlib/manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'indexlib/manager.h')
-rw-r--r--indexlib/manager.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/indexlib/manager.h b/indexlib/manager.h
index 6224a9db4..3dc1bdef6 100644
--- a/indexlib/manager.h
+++ b/indexlib/manager.h
@@ -56,12 +56,12 @@ class memory_manager {
virtual void resize( unsigned ) = 0;
};
-template <memory_manager* ( *get_tqparent )()>
+template <memory_manager* ( *get_parent )()>
struct thing_manager {
public:
- const unsigned char* ronly_base( unsigned idx ) const { return get_tqparent()->ronly_base( idx ); }
- unsigned char* rw_base( unsigned idx ) const { return get_tqparent()->rw_base( idx ); }
+ const unsigned char* ronly_base( unsigned idx ) const { return get_parent()->ronly_base( idx ); }
+ unsigned char* rw_base( unsigned idx ) const { return get_parent()->rw_base( idx ); }
};