Tweak declaration

I think this is clearer
This commit is contained in:
John Ericson 2020-06-21 16:51:39 +00:00
parent fdeabf7160
commit bf9f040112

View file

@ -404,7 +404,7 @@ DrvHashModulo hashDerivationModulo(Store & store, const Derivation & drv, bool m
},
// CA derivation's output hashes
[&](CaOutputHashes outputHashes) {
std::set justOut = { std::string("out") };
std::set<std::string> justOut = { "out" };
for (auto & output : i.second) {
/* Put each one in with a single "out" output.. */
const auto h = outputHashes.at(output);