diff --git a/UNITTESTS/target_h/myCellularDevice.h b/UNITTESTS/target_h/myCellularDevice.h index ff99be062c..f69b7dcafd 100644 --- a/UNITTESTS/target_h/myCellularDevice.h +++ b/UNITTESTS/target_h/myCellularDevice.h @@ -35,7 +35,7 @@ class FileHandle; class myCellularDevice : public CellularDevice { public: myCellularDevice(FileHandle *fh) : CellularDevice(fh), _context_list(0), _network(0) {} - ~myCellularDevice() + virtual ~myCellularDevice() { delete _context_list; delete _network; @@ -125,11 +125,6 @@ public: return NSAPI_ERROR_OK; } - virtual nsapi_error_t shutdown() - { - return NSAPI_ERROR_OK; - } - virtual nsapi_error_t is_ready() { return NSAPI_ERROR_OK;