[spinel] fix the non-virtual destructor error (#9139)

This commit is contained in:
Zhanglong Xia
2023-06-07 10:33:11 -07:00
committed by GitHub
parent cc09029188
commit 4c5320168c
+6
View File
@@ -155,6 +155,12 @@ public:
*
*/
virtual otError HardwareReset(void) = 0;
/**
* Marks destructor virtual method.
*
*/
virtual ~SpinelInterface() = default;
};
} // namespace Spinel
} // namespace ot