diff --git a/solanaceae/core/tox_event_interface.hpp b/solanaceae/core/tox_event_interface.hpp index ffd2a4b..e5a89dc 100644 --- a/solanaceae/core/tox_event_interface.hpp +++ b/solanaceae/core/tox_event_interface.hpp @@ -61,6 +61,7 @@ struct ToxEventI { // defines the interface where to subscribe struct ToxEventProviderI { + virtual ~ToxEventProviderI(void) {} // TODO: unsub virtual void subscribe(ToxEventI* object, const Tox_Event event_type) = 0; };