Delete fishy-looking assignment operator/copy constructor of IJob

Since they're not called anyway, they can go away.
This commit is contained in:
heinrich5991 2023-08-01 09:45:15 +02:00
parent 210a2a8bb9
commit c5e27b283b
2 changed files with 2 additions and 13 deletions

View file

@ -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()

View file

@ -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();