diff options
Diffstat (limited to 'indexlib/mempool.tcc')
-rw-r--r-- | indexlib/mempool.tcc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indexlib/mempool.tcc b/indexlib/mempool.tcc index 19a5e6d44..a130bffee 100644 --- a/indexlib/mempool.tcc +++ b/indexlib/mempool.tcc @@ -135,7 +135,7 @@ void mempool<Traits>::print( std::ostream& out ) const { template <typename Traits> memory_reference<uint32_t> mempool<Traits>::free_list( unsigned order ) { assert( order ); - return memory_reference<uint32_t>( manager_->rw_base( order * byte_io::byte_lenght<uint32_t>() ) ); + return memory_reference<uint32_t>( manager_->rw_base( order * byte_io::byte_length<uint32_t>() ) ); } template <typename Traits> |