fix missing virtual destructors as reported in #1386

This commit is contained in:
AlexandreRouma
2024-04-22 18:54:12 +02:00
parent 2813aa7c93
commit ccb10bfb9a
4 changed files with 5 additions and 2 deletions

View File

@ -10,6 +10,8 @@ namespace dsp {
Operator(stream<A>* a, stream<B>* b) { init(a, b); }
virtual ~Operator() {}
virtual void init(stream<A>* a, stream<B>* b) {
_a = a;
_b = b;