Switch an auto_ptr to a unique_ptr
This commit is contained in:
parent
5fd0b02e40
commit
4c311cf6d4
@ -40,7 +40,7 @@ namespace thin_provisioning {
|
|||||||
|
|
||||||
int fd_;
|
int fd_;
|
||||||
validator::ptr v_;
|
validator::ptr v_;
|
||||||
std::auto_ptr<block_cache> cache_;
|
std::unique_ptr<block_cache> cache_;
|
||||||
|
|
||||||
block_address current_index_;
|
block_address current_index_;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user