aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/store-api.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-06-25 15:35:14 +0200
committerEelco Dolstra <edolstra@gmail.com>2021-07-09 14:03:51 +0200
commitceda58d112f35a23c7375e0d9b0ebbe53ca93788 (patch)
tree5e60bbfdd9937fe36a07611e5068559293d460b1 /src/libstore/store-api.cc
parent07790fdddf7705454310633b9e38bd816d23de8e (diff)
Formatting
Diffstat (limited to 'src/libstore/store-api.cc')
-rw-r--r--src/libstore/store-api.cc8
1 files changed, 4 insertions, 4 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);
}