mirror of https://github.com/PentHertz/srsLTE.git
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:
parent
498af989bf
commit
cb2d7f4c16
|
@ -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_;
|
||||
|
|
Loading…
Reference in New Issue