Fold Calendar::close() into the Calendar dtor
close() is irreversible and destructive, so pretty much the definition of a destructor. Having it separately doesn't gain us anything, but brings some unexpected behavior should any subclass actually override this due to it being called from the dtor.
Please register or sign in to comment