[space-map-disk] Add virtual destructor to index_store.

Bug. Cleaning up index stores would not be correct.
This commit is contained in:
Joe Thornber 2020-04-08 12:23:28 +01:00
parent 1481ed0f8a
commit ed22bfcdda

View File

@ -240,6 +240,8 @@ namespace {
public:
typedef boost::shared_ptr<index_store> ptr;
virtual ~index_store() {}
virtual void count_metadata(block_counter &bc) const = 0;
virtual void resize(block_address nr_indexes) = 0;
virtual index_entry find_ie(block_address b) const = 0;