We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d5fa131 + 29f3da1 commit e5ae81cCopy full SHA for e5ae81c
src/libstore/build/derivation-check.cc
@@ -18,7 +18,11 @@ void checkOutputs(
18
for (auto & output : outputs)
19
outputsByPath.emplace(store.printStorePath(output.second.path), output.second);
20
21
- for (auto & [outputName, info] : outputs) {
+ for (auto & pair : outputs) {
22
+ // We can't use auto destructuring here because
23
+ // clang-tidy seems to complain about it.
24
+ const std::string & outputName = pair.first;
25
+ const auto & info = pair.second;
26
27
auto * outputSpec = get(drvOutputs, outputName);
28
assert(outputSpec);
0 commit comments