GS: Remove virtual destructor from GSAlignedClass

No point, and made it not a standard layout type
This commit is contained in:
TellowKrinkle 2021-11-03 22:07:38 -05:00 committed by refractionpcsx2
parent 6596b7f27e
commit fd145e65aa
1 changed files with 4 additions and 3 deletions

View File

@ -18,10 +18,11 @@
template <int i> template <int i>
class GSAlignedClass class GSAlignedClass
{ {
public: protected:
GSAlignedClass() {} GSAlignedClass() = default;
virtual ~GSAlignedClass() {} ~GSAlignedClass() = default;
public:
void* operator new(size_t size) void* operator new(size_t size)
{ {
return _aligned_malloc(size, i); return _aligned_malloc(size, i);