]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/os: mark dtor of interface class "virtual"
authorKefu Chai <kchai@redhat.com>
Tue, 6 Oct 2020 11:03:38 +0000 (19:03 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 6 Oct 2020 14:22:25 +0000 (22:22 +0800)
commit6336f72244d26c4d92c62770eb8d54c5ccc6d337
treefb598f4fb14c2ec2892889ac2434af48b02122a2
parent427b244b846a127261d0e5c81fb96209054ce003
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>
src/crimson/os/seastore/segment_cleaner.h