mirror of https://github.com/PCSX2/pcsx2.git
GS: Remove virtual destructor from GSAlignedClass
No point, and made it not a standard layout type
This commit is contained in:
parent
6596b7f27e
commit
fd145e65aa
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue