Skip to content

Commit 8c019e6

Browse files
Ari ParkkilaTeppo Järvelin
authored andcommitted
Cellular: Remove excessive destructor declaration to fix compile error
1 parent d7cabe2 commit 8c019e6

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

features/cellular/TESTS/socket/udp/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class EchoSocket : public UDPSocket {
6868
sigio(NULL);
6969
}
7070
}
71-
~EchoSocket() {
71+
virtual ~EchoSocket() {
7272
TEST_ASSERT(close() == NSAPI_ERROR_OK);
7373
delete _data;
7474
}

features/cellular/framework/targets/QUECTEL/BG96/QUECTEL_BG96_CellularPower.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ class QUECTEL_BG96_CellularPower : public AT_CellularPower
2727
{
2828
public:
2929
QUECTEL_BG96_CellularPower(ATHandler &atHandler);
30-
virtual ~QUECTEL_BG96_CellularPower();
3130

3231
public: //from CellularPower
3332
virtual nsapi_error_t set_device_ready_urc_cb(mbed::Callback<void()> callback);

0 commit comments

Comments
 (0)