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>
MonClient *monc_,
Context *respawn_hook_,
Context *suicide_hook_);
+
+ protected:
~MDSRank();
+ public:
+
// Daemon lifetime functions: these guys break the abstraction
// and call up into the parent MDSDaemon instance. It's kind
// of unavoidable: if we want any depth into our calls