SHMStats: Add missing virtual destructor

This should be present for universally consistent behavior, regardless
of how the class is used.
This commit is contained in:
Lioncache committed 2025-10-08 16:17:42 -04:00
1 parent a2445904e7
commit 74ae89865c
1 file changed
+3
+3
View File
@@ -26,6 +26,9 @@ static inline void store_memory_barrier() {
namespace FEX::SHMStats {
class StatAllocBase {
public:
virtual ~StatAllocBase() = default;
protected:
FEXCore::SHMStats::ThreadStats* AllocateSlot(uint32_t TID);
void DeallocateSlot(FEXCore::SHMStats::ThreadStats* AllocatedSlot);