Add a few default functions in explicitly. (-Wdeprecated-copy)

This commit is contained in:
Shanoah Alkire 2019-05-11 19:18:18 -07:00
parent 284880f768
commit 5d4ae31ba1
4 changed files with 6 additions and 0 deletions

View File

@ -81,6 +81,7 @@ public:
{
}
pxSimpleEvent(const pxSimpleEvent&) = default;
virtual wxEvent *Clone() const { return new pxSimpleEvent(*this); }
};

View File

@ -504,6 +504,7 @@ public:
xAddressVoid operator-(const void *right) const;
xAddressVoid operator*(int factor) const;
xAddressVoid operator<<(u32 shift) const;
xAddressReg& operator=(const xAddressReg&) = default;
};
// --------------------------------------------------------------------------------------

View File

@ -138,6 +138,7 @@ protected:
PluginsEnum_t m_pid;
public:
LoadSinglePluginEvent(const LoadSinglePluginEvent&) = default;
virtual ~LoadSinglePluginEvent() = default;
virtual LoadSinglePluginEvent *Clone() const { return new LoadSinglePluginEvent(*this); }
@ -167,6 +168,7 @@ protected:
FnPtr_AppPluginPid m_method;
public:
SinglePluginMethodEvent(const SinglePluginMethodEvent&) = default;
virtual ~SinglePluginMethodEvent() = default;
virtual SinglePluginMethodEvent *Clone() const { return new SinglePluginMethodEvent(*this); }

View File

@ -57,6 +57,8 @@ public:
{
}
constexpr GSVector4(const GSVector4&) = default;
__forceinline GSVector4(float x, float y, float z, float w)
{
m = _mm_set_ps(w, z, y, x);