[space-map] Make the version of inc/dec that take a count the only one.

This commit is contained in:
Joe Thornber
2020-05-26 09:12:45 +01:00
parent cc806a0daa
commit 50f8e792d3
6 changed files with 19 additions and 41 deletions

View File

@@ -383,17 +383,6 @@ namespace {
indexes_->commit_ies();
}
void inc(block_address b) override {
if (b == search_start_)
search_start_++;
modify_count(b, [](ref_t c) {return c + 1;});
}
void dec(block_address b) override {
modify_count(b, [](ref_t c) {return c - 1;});
}
void inc(block_address b, uint32_t count) override {
if (b == search_start_)
search_start_++;