Safe Delete Clarification

I have a C++ class:

class Train : public Transport




       Train(const Mill&);

       Train(int what, int howMuch, ...);

       virtual ~ Train();

       Money& TicketPrice(Location* start,Location* end);


This class once was useful, but nowadays we always use an Airplane instead. Now, Train is never used.  Safe Delete, however, won’t delete the class because it’s referenced by its own constructors.  Find Usages confirms that all the usages are internal to the class, so even if the constructors have side effects they can’t ever be called

Is this within the purview of Safe Delete?

1 comment
Comment actions Permalink

Mark, could you please file a bug report in our tracker?


Please sign in to leave a comment.