diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-07-13 17:37:44 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-07-13 18:31:19 +0200 |
commit | 545bb2ed03001cd7a80a90f73eb500f396c043a1 (patch) | |
tree | 88b32b1885f848788fb3695b7f5dcb1fc68f14d6 /src/libstore/build.cc | |
parent | 0a9da00a10fa27a3e3b98439cb0a7d5e79135b58 (diff) |
Remove 'accessor' from addToStore()
This is only used by hydra-queue-runner and it's better to implement
it there.
Diffstat (limited to 'src/libstore/build.cc')
-rw-r--r-- | src/libstore/build.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 96f7f2603..ac2e67574 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -2768,10 +2768,9 @@ struct RestrictedStore : public LocalFSStore { throw Error("addToStore"); } void addToStore(const ValidPathInfo & info, Source & narSource, - RepairFlag repair = NoRepair, CheckSigsFlag checkSigs = CheckSigs, - std::shared_ptr<FSAccessor> accessor = 0) override + RepairFlag repair = NoRepair, CheckSigsFlag checkSigs = CheckSigs) override { - next->addToStore(info, narSource, repair, checkSigs, accessor); + next->addToStore(info, narSource, repair, checkSigs); goal.addDependency(info.path); } |