GS: Remove virtual destructor from GSAlignedClass

No point, and made it not a standard layout type
This commit is contained in:
TellowKrinkle authored and refractionpcsx2 committed 2021-11-04 19:32:27 +00:00
1 parent 6596b7f27e
commit fd145e65aa
1 file changed
+4 -3
+4 -3
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);