mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-03-01 06:27: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 {
|
class Writer {
|
||||||
public:
|
public:
|
||||||
virtual bool write(const void* const buffer, const size_t bytes) = 0;
|
virtual bool write(const void* const buffer, const size_t bytes) = 0;
|
||||||
|
virtual ~Writer() { };
|
||||||
};
|
};
|
||||||
|
|
||||||
class RawFileWriter : public Writer {
|
class RawFileWriter : public Writer {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user