mirror of
https://github.com/ceph/ceph
synced 2025-02-23 11:07:35 +00:00
crimson/os: mark dtor of interface class "virtual"
we use a smart_ptr in Seastore to manage the life cycle of `TransactionManager` which is in turn a subclass `ExtentCallbackInterface`, so should declare the dtor of latter as virtual. Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
427b244b84
commit
6336f72244
@ -37,6 +37,7 @@ public:
|
||||
/// Callback interface for querying and operating on segments
|
||||
class ExtentCallbackInterface {
|
||||
public:
|
||||
virtual ~ExtentCallbackInterface() = default;
|
||||
/**
|
||||
* get_next_dirty_extent
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user