mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-02-28 23:17:21 +00: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…
x
Reference in New Issue
Block a user