MCPcopy Create free account
hub / github.com/AutoHotkey/AutoHotkey / ~ObjectBase

Function ~ObjectBase

source/script_object.h:67–67  ·  view source on GitHub ↗

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.

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected