[thin-provisioning] pass the tm by reference to the metadata object

This commit is contained in:
Joe Thornber
2019-04-04 14:38:46 +01:00
parent aace49cdd6
commit b777a77023
5 changed files with 8 additions and 8 deletions

View File

@@ -45,13 +45,13 @@ namespace thin_provisioning {
class mtree_ref_counter {
public:
mtree_ref_counter(transaction_manager::ptr tm);
mtree_ref_counter(transaction_manager &tm);
void inc(block_address b);
void dec(block_address b);
private:
transaction_manager::ptr tm_;
transaction_manager &tm_;
};
// This value type is itself a tree containing mappings.