mirror of https://github.com/PCSX2/pcsx2.git
Add a few default functions in explicitly. (-Wdeprecated-copy)
This commit is contained in:
parent
284880f768
commit
5d4ae31ba1
|
@ -81,6 +81,7 @@ public:
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pxSimpleEvent(const pxSimpleEvent&) = default;
|
||||||
virtual wxEvent *Clone() const { return new pxSimpleEvent(*this); }
|
virtual wxEvent *Clone() const { return new pxSimpleEvent(*this); }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -504,6 +504,7 @@ public:
|
||||||
xAddressVoid operator-(const void *right) const;
|
xAddressVoid operator-(const void *right) const;
|
||||||
xAddressVoid operator*(int factor) const;
|
xAddressVoid operator*(int factor) const;
|
||||||
xAddressVoid operator<<(u32 shift) const;
|
xAddressVoid operator<<(u32 shift) const;
|
||||||
|
xAddressReg& operator=(const xAddressReg&) = default;
|
||||||
};
|
};
|
||||||
|
|
||||||
// --------------------------------------------------------------------------------------
|
// --------------------------------------------------------------------------------------
|
||||||
|
|
|
@ -138,6 +138,7 @@ protected:
|
||||||
PluginsEnum_t m_pid;
|
PluginsEnum_t m_pid;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
LoadSinglePluginEvent(const LoadSinglePluginEvent&) = default;
|
||||||
virtual ~LoadSinglePluginEvent() = default;
|
virtual ~LoadSinglePluginEvent() = default;
|
||||||
virtual LoadSinglePluginEvent *Clone() const { return new LoadSinglePluginEvent(*this); }
|
virtual LoadSinglePluginEvent *Clone() const { return new LoadSinglePluginEvent(*this); }
|
||||||
|
|
||||||
|
@ -167,6 +168,7 @@ protected:
|
||||||
FnPtr_AppPluginPid m_method;
|
FnPtr_AppPluginPid m_method;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
SinglePluginMethodEvent(const SinglePluginMethodEvent&) = default;
|
||||||
virtual ~SinglePluginMethodEvent() = default;
|
virtual ~SinglePluginMethodEvent() = default;
|
||||||
virtual SinglePluginMethodEvent *Clone() const { return new SinglePluginMethodEvent(*this); }
|
virtual SinglePluginMethodEvent *Clone() const { return new SinglePluginMethodEvent(*this); }
|
||||||
|
|
||||||
|
|
|
@ -57,6 +57,8 @@ public:
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
constexpr GSVector4(const GSVector4&) = default;
|
||||||
|
|
||||||
__forceinline GSVector4(float x, float y, float z, float w)
|
__forceinline GSVector4(float x, float y, float z, float w)
|
||||||
{
|
{
|
||||||
m = _mm_set_ps(w, z, y, x);
|
m = _mm_set_ps(w, z, y, x);
|
||||||
|
|
Loading…
Reference in New Issue