Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mds/MDSRank.h: make destructor protected #11651

Merged
merged 1 commit into from Nov 15, 2016

Conversation

stiopaa1
Copy link
Contributor

MDSRank class is inherited from, but doesn't have virtual destructor.
Making destructor protected prevents possibility of deleting derived
classes using base class pointer.

Signed-off-by: Michal Jarzabek stiopa@gmail.com

MDSRank class is inherited from, but doesn't have virtual destructor.
Making destructor protected prevents possibility of deleting derived
classes using base class pointer.

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
@gregsfortytwo gregsfortytwo added cephfs Ceph File System cleanup labels Nov 8, 2016
@gregsfortytwo
Copy link
Member

Please test this

@gregsfortytwo
Copy link
Member

(LGTM)

@jcsp jcsp merged commit 4ed46ef into ceph:master Nov 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cephfs Ceph File System cleanup
Projects
None yet
3 participants