rf_uhd_generic: add explicit ctor and dtor

clang 6 complained about a missing virtual dtor and thus
failed compilation. this patch adds both, an explicit ctor and dtor.
This commit is contained in:
Andre Puschmann 2020-08-10 10:42:54 +02:00
parent 498af989bf
commit cb2d7f4c16
1 changed files with 2 additions and 0 deletions

View File

@ -111,6 +111,8 @@ private:
}
public:
rf_uhd_generic(){};
virtual ~rf_uhd_generic(){};
uhd_error usrp_make(const uhd::device_addr_t& dev_addr_, uint32_t nof_channels) override
{
uhd::device_addr_t dev_addr = dev_addr_;