susumu.yata
null+****@clear*****
Sat May 11 10:03:05 JST 2013
susumu.yata 2013-05-11 10:03:05 +0900 (Sat, 11 May 2013) New Revision: 1959355dd7e842aed6db7938294bce1b3cafb2b4 https://github.com/groonga/grnxx/commit/1959355dd7e842aed6db7938294bce1b3cafb2b4 Message: Remove a needless member variable. Modified files: lib/grnxx/alpha/double_array.cpp lib/grnxx/alpha/double_array.hpp Modified: lib/grnxx/alpha/double_array.cpp (+0 -5) =================================================================== --- lib/grnxx/alpha/double_array.cpp 2013-05-11 10:02:26 +0900 (08a6444) +++ lib/grnxx/alpha/double_array.cpp 2013-05-11 10:03:05 +0900 (95a2f44) @@ -262,7 +262,6 @@ DoubleArrayImpl::DoubleArrayImpl() : pool_(), block_info_(nullptr), header_(nullptr), - recycler_(nullptr), nodes_(), siblings_(), chunks_(), @@ -279,8 +278,6 @@ void DoubleArrayImpl::create_double_array(io::Pool pool) { header_ = static_cast<DoubleArrayHeader *>(block_address); *header_ = DoubleArrayHeader(); - recycler_ = pool_.mutable_recycler(); - nodes_.create(pool); header_->set_nodes_block_id(nodes_.block_id()); siblings_.create(pool); @@ -309,8 +306,6 @@ void DoubleArrayImpl::open_double_array(io::Pool pool, uint32_t block_id) { // TODO: Check the format. - recycler_ = pool_.mutable_recycler(); - nodes_.open(pool_, header_->nodes_block_id()); siblings_.open(pool_, header_->siblings_block_id()); chunks_.open(pool_, header_->chunks_block_id()); Modified: lib/grnxx/alpha/double_array.hpp (+0 -1) =================================================================== --- lib/grnxx/alpha/double_array.hpp 2013-05-11 10:02:26 +0900 (2a3ec0a) +++ lib/grnxx/alpha/double_array.hpp 2013-05-11 10:03:05 +0900 (9ce7169) @@ -546,7 +546,6 @@ class DoubleArrayImpl { io::Pool pool_; const io::BlockInfo *block_info_; DoubleArrayHeader *header_; - Recycler *recycler_; Vector<DoubleArrayNode> nodes_; Vector<uint8_t> siblings_; Vector<DoubleArrayChunk> chunks_; -------------- next part -------------- HTML����������������������������...Download