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
1 changed files with 1 additions and 0 deletions

View File

@ -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;
};