[various] remove dead code.
Squashes warnings from clang++
This commit is contained in:
@@ -37,8 +37,7 @@ namespace {
|
||||
|
||||
bloom_filter::bloom_filter(transaction_manager &tm,
|
||||
unsigned nr_bits, unsigned nr_probes)
|
||||
: tm_(tm),
|
||||
bits_(tm),
|
||||
: bits_(tm),
|
||||
nr_probes_(nr_probes),
|
||||
mask_(nr_bits - 1)
|
||||
{
|
||||
@@ -48,8 +47,7 @@ bloom_filter::bloom_filter(transaction_manager &tm,
|
||||
|
||||
bloom_filter::bloom_filter(transaction_manager &tm, block_address root,
|
||||
unsigned nr_bits, unsigned nr_probes)
|
||||
: tm_(tm),
|
||||
bits_(tm, root, nr_bits),
|
||||
: bits_(tm, root, nr_bits),
|
||||
nr_probes_(nr_probes),
|
||||
mask_(nr_bits - 1)
|
||||
{
|
||||
|
@@ -33,7 +33,6 @@ namespace persistent_data {
|
||||
|
||||
void fill_probes(block_address b, std::vector<unsigned> &probes) const;
|
||||
|
||||
transaction_manager &tm_;
|
||||
persistent_data::bitset bits_;
|
||||
unsigned nr_probes_;
|
||||
uint64_t mask_;
|
||||
|
@@ -586,30 +586,20 @@ namespace {
|
||||
|
||||
class ie_value_visitor {
|
||||
public:
|
||||
ie_value_visitor(index_entry_visitor &v)
|
||||
: v_(v) {
|
||||
}
|
||||
ie_value_visitor(index_entry_visitor &v) {}
|
||||
|
||||
virtual void visit(btree_path const &path, sm_disk_detail::index_entry const &ie) {
|
||||
// FIXME: finish
|
||||
}
|
||||
|
||||
private:
|
||||
index_entry_visitor &v_;
|
||||
};
|
||||
|
||||
class ie_damage_visitor {
|
||||
public:
|
||||
ie_damage_visitor(index_entry_visitor &v)
|
||||
: v_(v) {
|
||||
}
|
||||
ie_damage_visitor(index_entry_visitor &v) {}
|
||||
|
||||
virtual void visit(btree_path const &path, btree_detail::damage const &d) {
|
||||
// FIXME: finish
|
||||
}
|
||||
|
||||
private:
|
||||
index_entry_visitor &v_;
|
||||
};
|
||||
|
||||
class btree_index_store : public index_store {
|
||||
|
Reference in New Issue
Block a user