mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 10:00:16 +02:00
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:
1 parent
a2445904e7
commit
74ae89865c
1 file changed
+3
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user