From ceda58d112f35a23c7375e0d9b0ebbe53ca93788 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 25 Jun 2021 15:35:14 +0200 Subject: [PATCH] Formatting --- src/libstore/store-api.cc | 8 ++++---- src/libstore/store-api.hh | 2 +- 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 copyPaths(ref srcStore, ref dstStor // Copy the realisation closure processGraph( pool, Realisation::closure(*srcStore, toplevelRealisations), - [&](const Realisation& current) -> std::set { + [&](const Realisation & current) -> std::set { std::set 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 copyPaths(ref srcStore, ref dstStor CheckSigsFlag checkSigs = CheckSigs, SubstituteFlag substitute = NoSubstitute); std::map copyPaths(ref srcStore, ref dstStore, - const StorePathSet& paths, + const StorePathSet & paths, RepairFlag repair = NoRepair, CheckSigsFlag checkSigs = CheckSigs, SubstituteFlag substitute = NoSubstitute);