mirror of
https://github.com/espressif/openthread.git
synced 2026-08-08 03:37:46 +00:00
[spinel] fix the non-virtual destructor error (#9139)
This commit is contained in:
@@ -155,6 +155,12 @@ public:
|
||||
*
|
||||
*/
|
||||
virtual otError HardwareReset(void) = 0;
|
||||
|
||||
/**
|
||||
* Marks destructor virtual method.
|
||||
*
|
||||
*/
|
||||
virtual ~SpinelInterface() = default;
|
||||
};
|
||||
} // namespace Spinel
|
||||
} // namespace ot
|
||||
|
||||
Reference in New Issue
Block a user