Declare virtual destructor for polymorphic base class
There are lots of ways to keep track of time, so it would be reasonable to create a TimeKeeper base class along with derived classes for different approaches to timekeeping
class TimeKeeper {
public:
TimeKeeper();
~TimeKeeper();
...
};
c...
kangaroolove.hashnode.dev1 min read