Cellular: Remove excessive destructor declaration to fix compile error

pull/6496/head
Ari Parkkila 2018-03-27 17:12:56 +03:00 committed by Teppo Järvelin
parent d7cabe2183
commit 8c019e6c83
2 changed files with 1 additions and 2 deletions

View File

@ -68,7 +68,7 @@ public:
sigio(NULL);
}
}
~EchoSocket() {
virtual ~EchoSocket() {
TEST_ASSERT(close() == NSAPI_ERROR_OK);
delete _data;
}

View File

@ -27,7 +27,6 @@ class QUECTEL_BG96_CellularPower : public AT_CellularPower
{
public:
QUECTEL_BG96_CellularPower(ATHandler &atHandler);
virtual ~QUECTEL_BG96_CellularPower();
public: //from CellularPower
virtual nsapi_error_t set_device_ready_urc_cb(mbed::Callback<void()> callback);