mirror of
https://github.com/espressif/openthread.git
synced 2026-09-13 04:30:08 +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;
|
virtual otError HardwareReset(void) = 0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Marks destructor virtual method.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
virtual ~SpinelInterface() = default;
|
||||||
};
|
};
|
||||||
} // namespace Spinel
|
} // namespace Spinel
|
||||||
} // namespace ot
|
} // namespace ot
|
||||||
|
|||||||
Reference in New Issue
Block a user