forked from lix-project/lix
Shut up some clang warnings
This commit is contained in:
parent
2ac99a32da
commit
d552d38758
|
@ -906,7 +906,7 @@ private:
|
||||||
|
|
||||||
void repairClosure();
|
void repairClosure();
|
||||||
|
|
||||||
void amDone(ExitCode result)
|
void amDone(ExitCode result) override
|
||||||
{
|
{
|
||||||
logger->event(evBuildFinished, act, result == ecSuccess);
|
logger->event(evBuildFinished, act, result == ecSuccess);
|
||||||
Goal::amDone(result);
|
Goal::amDone(result);
|
||||||
|
@ -3288,16 +3288,16 @@ public:
|
||||||
SubstitutionGoal(const Path & storePath, Worker & worker, bool repair = false);
|
SubstitutionGoal(const Path & storePath, Worker & worker, bool repair = false);
|
||||||
~SubstitutionGoal();
|
~SubstitutionGoal();
|
||||||
|
|
||||||
void timedOut() { abort(); };
|
void timedOut() override { abort(); };
|
||||||
|
|
||||||
string key()
|
string key() override
|
||||||
{
|
{
|
||||||
/* "a$" ensures substitution goals happen before derivation
|
/* "a$" ensures substitution goals happen before derivation
|
||||||
goals. */
|
goals. */
|
||||||
return "a$" + storePathToName(storePath) + "$" + storePath;
|
return "a$" + storePathToName(storePath) + "$" + storePath;
|
||||||
}
|
}
|
||||||
|
|
||||||
void work();
|
void work() override;
|
||||||
|
|
||||||
/* The states. */
|
/* The states. */
|
||||||
void init();
|
void init();
|
||||||
|
@ -3308,12 +3308,12 @@ public:
|
||||||
void finished();
|
void finished();
|
||||||
|
|
||||||
/* Callback used by the worker to write to the log. */
|
/* Callback used by the worker to write to the log. */
|
||||||
void handleChildOutput(int fd, const string & data);
|
void handleChildOutput(int fd, const string & data) override;
|
||||||
void handleEOF(int fd);
|
void handleEOF(int fd) override;
|
||||||
|
|
||||||
Path getStorePath() { return storePath; }
|
Path getStorePath() { return storePath; }
|
||||||
|
|
||||||
void amDone(ExitCode result)
|
void amDone(ExitCode result) override
|
||||||
{
|
{
|
||||||
logger->event(evSubstitutionFinished, act, result == ecSuccess);
|
logger->event(evSubstitutionFinished, act, result == ecSuccess);
|
||||||
Goal::amDone(result);
|
Goal::amDone(result);
|
||||||
|
|
Loading…
Reference in a new issue