susumu.yata
null+****@clear*****
Wed Jul 17 16:43:28 JST 2013
susumu.yata 2013-07-17 16:43:28 +0900 (Wed, 17 Jul 2013) New Revision: f77ec54bf203a56fcabf8b7e3deffba0388c3077 https://github.com/groonga/grnxx/commit/f77ec54bf203a56fcabf8b7e3deffba0388c3077 Message: Remove default constructors and deconstructors. Modified files: lib/grnxx/array.hpp lib/grnxx/array_impl.hpp Modified: lib/grnxx/array.hpp (+0 -2) =================================================================== --- lib/grnxx/array.hpp 2013-07-16 19:45:30 +0900 (424ccfc) +++ lib/grnxx/array.hpp 2013-07-17 16:43:28 +0900 (550607c) @@ -44,8 +44,6 @@ class Array { using ValueRef = typename Impl::ValueRef; using Unit = typename Impl::Unit; - ~Array() {} - // Create an array. static Array *create(Storage *storage, uint32_t storage_node_id, uint64_t size) { Modified: lib/grnxx/array_impl.hpp (+0 -6) =================================================================== --- lib/grnxx/array_impl.hpp 2013-07-16 19:45:30 +0900 (6ca91d2) +++ lib/grnxx/array_impl.hpp 2013-07-17 16:43:28 +0900 (9634fc9) @@ -254,9 +254,6 @@ class ArrayImpl { using ValueRef = Value &; using Unit = Value; - ArrayImpl() : impl_() {} - ~ArrayImpl() {} - // Create an array. void create(Storage *storage, uint32_t storage_node_id, uint64_t size) { impl_.create(storage, storage_node_id, @@ -370,9 +367,6 @@ class ArrayImpl<bool, PAGE_SIZE_IN_BITS, TABLE_SIZE> { using ValueRef = ArrayBitRef; using Unit = ArrayBitRef::Unit; - ArrayImpl() : impl_() {} - ~ArrayImpl() {} - // Create an array. void create(Storage *storage, uint32_t storage_node_id, uint64_t size) { impl_.create(storage, storage_node_id, -------------- next part -------------- HTML����������������������������...下載