mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-13 03:28:19 +00:00
Delete fishy-looking assignment operator/copy constructor of IJob
Since they're not called anyway, they can go away.
This commit is contained in:
parent
210a2a8bb9
commit
c5e27b283b
|
@ -9,17 +9,6 @@ IJob::IJob() :
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
IJob::IJob(const IJob &Other) :
|
|
||||||
m_Status(STATE_PENDING)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
IJob &IJob::operator=(const IJob &Other)
|
|
||||||
{
|
|
||||||
m_Status = STATE_PENDING;
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
IJob::~IJob() = default;
|
IJob::~IJob() = default;
|
||||||
|
|
||||||
int IJob::Status()
|
int IJob::Status()
|
||||||
|
|
|
@ -22,8 +22,8 @@ private:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
IJob();
|
IJob();
|
||||||
IJob(const IJob &Other);
|
IJob(const IJob &Other) = delete;
|
||||||
IJob &operator=(const IJob &Other);
|
IJob &operator=(const IJob &Other) = delete;
|
||||||
virtual ~IJob();
|
virtual ~IJob();
|
||||||
int Status();
|
int Status();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue