Declare a virtual destructor for correct 'delete this' behaviour in Delete(), and because it is likely to be more convenient and reliable than overriding Delete(), especially with a chain of derived types.
| 65 | // and because it is likely to be more convenient and reliable than overriding |
| 66 | // Delete(), especially with a chain of derived types. |
| 67 | virtual ~ObjectBase() {} |
| 68 | |
| 69 | bool IsOfType(Object *aPrototype) override; |
| 70 |
nothing calls this directly
no outgoing calls
no test coverage detected