aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/build/worker.hh
diff options
context:
space:
mode:
authorregnat <rg@regnat.ovh>2020-12-01 14:57:56 +0100
committerregnat <rg@regnat.ovh>2020-12-01 15:04:03 +0100
commit438977731cf049cf47873d5825456d47a1aac541 (patch)
tree3636db99c851ff572d5dad6f656a5ec195dc7489 /src/libstore/build/worker.hh
parent88798613ee288c7a801dcc1e73723a10a385df38 (diff)
shut up clang warnings
- Fix some class/struct discrepancies - Explicit the overloading of `run` in the `Cmd*` classes - Ignore a warning in the generated lexer
Diffstat (limited to 'src/libstore/build/worker.hh')
-rw-r--r--src/libstore/build/worker.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/build/worker.hh b/src/libstore/build/worker.hh
index 3a53a8def..bf8cc4586 100644
--- a/src/libstore/build/worker.hh
+++ b/src/libstore/build/worker.hh
@@ -8,8 +8,8 @@
namespace nix {
/* Forward definition. */
-class DerivationGoal;
-class SubstitutionGoal;
+struct DerivationGoal;
+struct SubstitutionGoal;
/* Workaround for not being able to declare a something like