Skip to content
Permalink
Browse files

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

  • Loading branch information...
arcum42 committed May 12, 2019
1 parent 284880f commit 5d4ae31ba1a31b5db7735aa4d2d18bc6dbf96570
@@ -81,6 +81,7 @@ class pxSimpleEvent : public wxEvent
{
}

pxSimpleEvent(const pxSimpleEvent&) = default;
virtual wxEvent *Clone() const { return new pxSimpleEvent(*this); }
};

@@ -504,6 +504,7 @@ class xAddressReg : public xRegisterLong
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 @@ class LoadSinglePluginEvent : public pxActionEvent
PluginsEnum_t m_pid;

public:
LoadSinglePluginEvent(const LoadSinglePluginEvent&) = default;
virtual ~LoadSinglePluginEvent() = default;
virtual LoadSinglePluginEvent *Clone() const { return new LoadSinglePluginEvent(*this); }

@@ -167,6 +168,7 @@ class SinglePluginMethodEvent : public pxActionEvent
FnPtr_AppPluginPid m_method;

public:
SinglePluginMethodEvent(const SinglePluginMethodEvent&) = default;
virtual ~SinglePluginMethodEvent() = default;
virtual SinglePluginMethodEvent *Clone() const { return new SinglePluginMethodEvent(*this); }

@@ -57,6 +57,8 @@ class alignas(16) GSVector4
{
}

constexpr GSVector4(const GSVector4&) = default;

__forceinline GSVector4(float x, float y, float z, float w)
{
m = _mm_set_ps(w, z, y, x);

0 comments on commit 5d4ae31

Please sign in to comment.
You can’t perform that action at this time.