mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
Forgot virtual destructor on interface class.
So my Files weren't getting closed properly!
This commit is contained in:
parent
0445a842db
commit
c5cae1034e
@ -38,6 +38,7 @@ using namespace hackrf::one;
|
||||
class Writer {
|
||||
public:
|
||||
virtual bool write(const void* const buffer, const size_t bytes) = 0;
|
||||
virtual ~Writer() { };
|
||||
};
|
||||
|
||||
class RawFileWriter : public Writer {
|
||||
|
Loading…
Reference in New Issue
Block a user