mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-12 03:34:58 -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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue