forgot virtual destructor
This commit is contained in:
parent
c4c32f5554
commit
58406b2a49
@ -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;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user