forgot virtual destructor

This commit is contained in:
Green Sky 2023-05-19 20:28:19 +02:00
parent c4c32f5554
commit 58406b2a49
No known key found for this signature in database

View File

@ -61,6 +61,7 @@ struct ToxEventI {
// defines the interface where to subscribe // defines the interface where to subscribe
struct ToxEventProviderI { struct ToxEventProviderI {
virtual ~ToxEventProviderI(void) {}
// TODO: unsub // TODO: unsub
virtual void subscribe(ToxEventI* object, const Tox_Event event_type) = 0; virtual void subscribe(ToxEventI* object, const Tox_Event event_type) = 0;
}; };