aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libstore/store-api.cc8
-rw-r--r--src/libstore/store-api.hh2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/libstore/store-api.cc b/src/libstore/store-api.cc
index 6736adb24..96eb4c3d7 100644
--- a/src/libstore/store-api.cc
+++ b/src/libstore/store-api.cc
@@ -803,14 +803,14 @@ std::map<StorePath, StorePath> copyPaths(ref<Store> srcStore, ref<Store> dstStor
// Copy the realisation closure
processGraph<Realisation>(
pool, Realisation::closure(*srcStore, toplevelRealisations),
- [&](const Realisation& current) -> std::set<Realisation> {
+ [&](const Realisation & current) -> std::set<Realisation> {
std::set<Realisation> children;
- for (const auto& [drvOutput, _] : current.dependentRealisations) {
+ for (const auto & [drvOutput, _] : current.dependentRealisations) {
auto currentChild = srcStore->queryRealisation(drvOutput);
if (!currentChild)
throw Error(
- "Incomplete realisation closure: '%s' is a "
- "dependency of '%s' but isn’t registered",
+ "incomplete realisation closure: '%s' is a "
+ "dependency of '%s' but isn't registered",
drvOutput.to_string(), current.id.to_string());
children.insert(*currentChild);
}
diff --git a/src/libstore/store-api.hh b/src/libstore/store-api.hh
index 9657d2adf..813e5c679 100644
--- a/src/libstore/store-api.hh
+++ b/src/libstore/store-api.hh
@@ -762,7 +762,7 @@ std::map<StorePath, StorePath> copyPaths(ref<Store> srcStore, ref<Store> dstStor
CheckSigsFlag checkSigs = CheckSigs,
SubstituteFlag substitute = NoSubstitute);
std::map<StorePath, StorePath> copyPaths(ref<Store> srcStore, ref<Store> dstStore,
- const StorePathSet& paths,
+ const StorePathSet & paths,
RepairFlag repair = NoRepair,
CheckSigsFlag checkSigs = CheckSigs,
SubstituteFlag substitute = NoSubstitute);