From 5edb58b3141d7422ea50f8fdbc59046f9352dc16 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 10 Aug 2021 13:47:16 +0200 Subject: [PATCH] Fix build --- src/hydra-queue-runner/build-remote.cc | 2 +- src/hydra-queue-runner/queue-monitor.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hydra-queue-runner/build-remote.cc b/src/hydra-queue-runner/build-remote.cc index 17b9cdec..9f789978 100644 --- a/src/hydra-queue-runner/build-remote.cc +++ b/src/hydra-queue-runner/build-remote.cc @@ -267,7 +267,7 @@ void State::buildRemote(ref destStore, if (localStore != std::shared_ptr(destStore)) { StorePathSet closure; localStore->computeFSClosure(step->drv->inputSrcs, closure); - copyPaths(ref(localStore), destStore, closure, NoRepair, NoCheckSigs, NoSubstitute); + copyPaths(*localStore, *destStore, closure, NoRepair, NoCheckSigs, NoSubstitute); } /* Copy the input closure. */ diff --git a/src/hydra-queue-runner/queue-monitor.cc b/src/hydra-queue-runner/queue-monitor.cc index 26d780b2..2abf3121 100644 --- a/src/hydra-queue-runner/queue-monitor.cc +++ b/src/hydra-queue-runner/queue-monitor.cc @@ -511,7 +511,7 @@ Step::ptr State::createStep(ref destStore, StorePathSet closure; localStore->computeFSClosure({*path}, closure); - copyPaths(ref(localStore), destStore, closure, NoRepair, CheckSigs, NoSubstitute); + copyPaths(*localStore, *destStore, closure, NoRepair, CheckSigs, NoSubstitute); time_t stopTime = time(0);