mirror of
https://github.com/libretro/pcsx2.git
synced 2025-02-26 20:36:12 +00:00
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); }
|
||||
};
|
||||
|
||||
|
@ -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;
|
||||
};
|
||||
|
||||
// --------------------------------------------------------------------------------------
|
||||
|
@ -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); }
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user