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>
class GSAlignedClass
{
public:
GSAlignedClass() {}
virtual ~GSAlignedClass() {}
protected:
GSAlignedClass() = default;
~GSAlignedClass() = default;
public:
void* operator new(size_t size)
{
return _aligned_malloc(size, i);