Possible Duplicate:
Why should I declare a virtual destructor for an abstract class in C++?
I inherited some code here I'm trying to understand, and the header file is:
class RemoteNotify : public virtual ServiceObject, public virtual RemoteMsg{
RemoveNotify();
virtual ~RemoveNotify();
/* more code down here */
}
I would like to know why someone would declare a virtual
destructor?