mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +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;
|
||||
|
||||
int IJob::Status()
|
||||
|
|
|
@ -22,8 +22,8 @@ private:
|
|||
|
||||
public:
|
||||
IJob();
|
||||
IJob(const IJob &Other);
|
||||
IJob &operator=(const IJob &Other);
|
||||
IJob(const IJob &Other) = delete;
|
||||
IJob &operator=(const IJob &Other) = delete;
|
||||
virtual ~IJob();
|
||||
int Status();
|
||||
|
||||
|
|
Loading…
Reference in a new issue