Forgot virtual destructor on interface class.

So my Files weren't getting closed properly!
This commit is contained in:
Jared Boone 2016-05-01 11:29:19 -07:00
parent 0445a842db
commit c5cae1034e

View File

@ -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 {