Remove unnecessary amDone() overrides

This commit is contained in:
Eelco Dolstra 2020-06-15 16:47:21 +02:00
parent ccfa6b3eee
commit 31707735b6

View file

@ -187,7 +187,7 @@ public:
protected: protected:
virtual void amDone(ExitCode result); void amDone(ExitCode result);
}; };
@ -1009,11 +1009,6 @@ private:
void repairClosure(); void repairClosure();
void amDone(ExitCode result) override
{
Goal::amDone(result);
}
void started(); void started();
void done(BuildResult::Status status, const string & msg = ""); void done(BuildResult::Status status, const string & msg = "");
@ -4335,11 +4330,6 @@ public:
void handleEOF(int fd) override; void handleEOF(int fd) override;
StorePath getStorePath() { return storePath.clone(); } StorePath getStorePath() { return storePath.clone(); }
void amDone(ExitCode result) override
{
Goal::amDone(result);
}
}; };